Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 106.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002528, allocations: 286.6 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.22/1.22, allocations: 178.5 MB / 0.5079 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 91.84 kB / 0.6071 GB, free: 9.277 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1874, allocations: 89.13 MB / 0.6942 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.007698/0.1952, allocations: 4.63 MB / 0.6987 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004432/0.1996, allocations: 2.358 MB / 0.701 GB, free: 9.027 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.2, allocations: 11.94 kB / 0.701 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.2018, allocations: 0.5436 MB / 0.7015 GB, free: 8.473 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00088/0.2027, allocations: 298.6 kB / 0.7018 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.2037, allocations: 339.2 kB / 0.7021 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007925/0.2045, allocations: 0.5646 MB / 0.7027 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006424/0.2052, allocations: 364 kB / 0.703 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.2056, allocations: 239.3 kB / 0.7033 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005741/0.2062, allocations: 279 kB / 0.7035 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.152e-05/0.2063, allocations: 32 kB / 0.7036 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.2069, allocations: 287.4 kB / 0.7038 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.2071, allocations: 175.6 kB / 0.704 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.2075, allocations: 214.9 kB / 0.7042 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009155/0.2084, allocations: 0.6503 MB / 0.7048 GB, free: 5.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2084, allocations: 0 / 0.7048 GB, free: 5.074 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.488e-06/0.2084, allocations: 4 kB / 0.7048 GB, free: 5.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.2084, allocations: 7.938 kB / 0.7049 GB, free: 5.062 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001441/0.2099, allocations: 0.7137 MB / 0.7056 GB, free: 4.301 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2099, allocations: 12.03 kB / 0.7056 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.2113, allocations: 164.2 kB / 0.7057 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.2118, allocations: 320.5 kB / 0.706 GB, free: 3.777 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.2118, allocations: 25.38 kB / 0.706 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/0.2119, allocations: 36.38 kB / 0.7061 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.213, allocations: 0.6419 MB / 0.7067 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.213, allocations: 7.922 kB / 0.7067 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.2131, allocations: 16 kB / 0.7067 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.681e-05/0.2132, allocations: 40.62 kB / 0.7068 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009316/0.2141, allocations: 494.1 kB / 0.7072 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2857/0.4999, allocations: 3.424 MB / 0.7106 GB, free: 48.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.5006, allocations: 374.1 kB / 0.7109 GB, free: 48.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.5008, allocations: 173.1 kB / 0.7111 GB, free: 48.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.5008, allocations: 10.64 kB / 0.7111 GB, free: 48.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.5008, allocations: 37.62 kB / 0.7112 GB, free: 48.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.893e-06/0.5008, allocations: 1.125 kB / 0.7112 GB, free: 48.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.004438/0.5053, allocations: 1.459 MB / 0.7126 GB, free: 48.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.5053, allocations: 82.61 kB / 0.7127 GB, free: 48.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.5057, allocations: 335.4 kB / 0.713 GB, free: 48.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5057, allocations: 34.55 kB / 0.713 GB, free: 48.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.5058, allocations: 264.5 kB / 0.7133 GB, free: 47.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.5059, allocations: 97.77 kB / 0.7134 GB, free: 47.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.506, allocations: 90.97 kB / 0.7134 GB, free: 47.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/0.506, allocations: 342.8 kB / 0.7138 GB, free: 47.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.5063, allocations: 189.8 kB / 0.714 GB, free: 47.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.5066, allocations: 350 kB / 0.7143 GB, free: 47.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.5072, allocations: 0.5387 MB / 0.7148 GB, free: 47.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5072, allocations: 2.406 kB / 0.7148 GB, free: 47.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00209/0.5093, allocations: 0.92 MB / 0.7157 GB, free: 46.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5093, allocations: 11.69 kB / 0.7157 GB, free: 46.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.5094, allocations: 7.031 kB / 0.7157 GB, free: 46.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/0.5115, allocations: 0.4995 MB / 0.7162 GB, free: 46.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.5118, allocations: 101 kB / 0.7163 GB, free: 46.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/0.5165, allocations: 4.053 MB / 0.7203 GB, free: 43.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.517, allocations: 51.09 kB / 0.7203 GB, free: 43.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.517, allocations: 15.69 kB / 0.7203 GB, free: 43.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003742/0.5174, allocations: 311.7 kB / 0.7206 GB, free: 43.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002754/0.5177, allocations: 336.5 kB / 0.721 GB, free: 43.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004764/0.5182, allocations: 0.5079 MB / 0.7215 GB, free: 43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.5182, allocations: 6.75 kB / 0.7215 GB, free: 43 MB / 0.545 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007208/0.5189, allocations: 0.5421 MB / 0.722 GB, free: 42.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5189, allocations: 14 kB / 0.722 GB, free: 42.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.519, allocations: 6.094 kB / 0.722 GB, free: 42.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.519, allocations: 10.62 kB / 0.722 GB, free: 42.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.5194, allocations: 108.2 kB / 0.7221 GB, free: 42.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5194, allocations: 12.84 kB / 0.7221 GB, free: 42.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.5197, allocations: 43.28 kB / 0.7222 GB, free: 42.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.5198, allocations: 23.25 kB / 0.7222 GB, free: 42.74 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.5199, allocations: 213.6 kB / 0.7224 GB, free: 42.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.52, allocations: 37.12 kB / 0.7224 GB, free: 42.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.5215, allocations: 0.6642 MB / 0.7231 GB, free: 42.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5215, allocations: 6.531 kB / 0.7231 GB, free: 42.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5215, allocations: 2.594 kB / 0.7231 GB, free: 42.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.5215, allocations: 0 / 0.7231 GB, free: 42.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007292/0.5222, allocations: 0.6604 MB / 0.7237 GB, free: 41.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.5222, allocations: 0 / 0.7237 GB, free: 41.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.5224, allocations: 52.81 kB / 0.7238 GB, free: 41.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.5238, allocations: 404.5 kB / 0.7242 GB, free: 41.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.5238, allocations: 6.594 kB / 0.7242 GB, free: 41.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002997/0.5268, allocations: 3.759 MB / 0.7279 GB, free: 38.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5268, allocations: 0 / 0.7279 GB, free: 38.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.5282, allocations: 0.8328 MB / 0.7287 GB, free: 38.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.5284, allocations: 144.5 kB / 0.7288 GB, free: 38.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.5284, allocations: 4 kB / 0.7288 GB, free: 38.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.5288, allocations: 38.92 kB / 0.7288 GB, free: 38.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.5289, allocations: 23.66 kB / 0.7289 GB, free: 38.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.5289, allocations: 9.469 kB / 0.7289 GB, free: 38.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002289/0.5291, allocations: 238.4 kB / 0.7291 GB, free: 38.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5291, allocations: 0 / 0.7291 GB, free: 38.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008413/0.53, allocations: 197.5 kB / 0.7293 GB, free: 38.01 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001301/0.5301, allocations: 115.8 kB / 0.7294 GB, free: 37.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.5316, allocations: 1.008 MB / 0.7304 GB, free: 37.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5316, allocations: 0 / 0.7304 GB, free: 37.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.5321, allocations: 482.3 kB / 0.7308 GB, free: 37.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.5327, allocations: 76.5 kB / 0.7309 GB, free: 37.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5337, allocations: 0.8076 MB / 0.7317 GB, free: 36.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.534, allocations: 0.8462 MB / 0.7325 GB, free: 35.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.5341, allocations: 39.19 kB / 0.7326 GB, free: 35.94 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5341, allocations: 0 / 0.7326 GB, free: 35.94 MB / 0.545 GB Notification: Performance of Templates: time 0.008639/0.5427, allocations: 8.423 MB / 0.7408 GB, free: 35.36 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)