Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 104.1 kB / 16.35 MB, free: 6.285 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.001206/0.001206, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 285.3 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 94.72 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.155, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.2571/0.4121, allocations: 17.16 MB / 0.6984 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007718/0.4198, allocations: 5.844 MB / 0.7041 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.4206, allocations: 55.5 kB / 0.7041 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.4234, allocations: 1.303 MB / 0.7054 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.425, allocations: 0.8374 MB / 0.7062 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.4277, allocations: 1.332 MB / 0.7075 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004109/0.4319, allocations: 4.284 MB / 0.7117 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006433/0.4383, allocations: 6.807 MB / 0.7183 GB, free: 220 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.441, allocations: 1.913 MB / 0.7202 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.4439, allocations: 2.285 MB / 0.7224 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006356/0.4446, allocations: 446.7 kB / 0.7229 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.4461, allocations: 0.8494 MB / 0.7237 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.4478, allocations: 1.723 MB / 0.7254 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.4496, allocations: 1.762 MB / 0.7271 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005097/0.4547, allocations: 6.38 MB / 0.7333 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4548, allocations: 0 / 0.7333 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4548, allocations: 0 / 0.7333 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.136e-05/0.4549, allocations: 0 / 0.7333 GB, free: 7.957 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.00521/0.4601, allocations: 3.074 MB / 0.7363 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.4601, allocations: 11.91 kB / 0.7363 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.4648, allocations: 1.115 MB / 0.7374 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/0.4683, allocations: 1.637 MB / 0.739 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.4684, allocations: 227.3 kB / 0.7393 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004678/0.4689, allocations: 291.2 kB / 0.7395 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007499/0.4764, allocations: 5.304 MB / 0.7447 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.4765, allocations: 0 / 0.7447 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003219/0.4768, allocations: 132 kB / 0.7448 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/0.477, allocations: 205.1 kB / 0.745 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/0.4835, allocations: 4.756 MB / 0.7497 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/0.5051, allocations: 23.01 MB / 0.7721 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.509, allocations: 3.179 MB / 0.7752 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.5102, allocations: 0.9095 MB / 0.7761 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.5103, allocations: 109.7 kB / 0.7762 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.5103, allocations: 47.22 kB / 0.7763 GB, free: 11.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 2.454e-06/0.5103, allocations: 0 / 0.7763 GB, free: 11.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.002769/0.5131, allocations: 2.078 MB / 0.7783 GB, free: 9.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.5132, allocations: 226.2 kB / 0.7785 GB, free: 9.293 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.5144, allocations: 1.09 MB / 0.7796 GB, free: 8.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.5144, allocations: 45.64 kB / 0.7796 GB, free: 8.141 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006176/0.5151, allocations: 1.285 MB / 0.7809 GB, free: 6.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.5153, allocations: 300 kB / 0.7812 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004612/0.5158, allocations: 355.1 kB / 0.7815 GB, free: 6.184 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5159, allocations: 341.9 kB / 0.7818 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.517, allocations: 0.8908 MB / 0.7827 GB, free: 4.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.5185, allocations: 1.519 MB / 0.7842 GB, free: 3.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.5209, allocations: 2.35 MB / 0.7865 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.5209, allocations: 12 kB / 0.7865 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003213/0.5242, allocations: 2.488 MB / 0.7889 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5242, allocations: 18.34 kB / 0.789 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.5242, allocations: 16.75 kB / 0.789 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.5243, allocations: 28 kB / 0.789 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.5257, allocations: 463.2 kB / 0.7894 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.5257, allocations: 43.8 kB / 0.7895 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.527, allocations: 345.8 kB / 0.7898 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.5272, allocations: 75.98 kB / 0.7899 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002866/0.53, allocations: 1.901 MB / 0.7917 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001449/0.5315, allocations: 1.438 MB / 0.7931 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002355/0.5339, allocations: 2.202 MB / 0.7953 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.757e-06/0.5339, allocations: 8 kB / 0.7953 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003195/0.5371, allocations: 2.324 MB / 0.7976 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5371, allocations: 16 kB / 0.7976 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.5372, allocations: 20 kB / 0.7976 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.5372, allocations: 28 kB / 0.7976 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.5385, allocations: 439.2 kB / 0.798 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/0.5386, allocations: 39.86 kB / 0.7981 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.5399, allocations: 287 kB / 0.7984 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.5401, allocations: 79.98 kB / 0.7984 GB, free: 3.734 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003241/0.5405, allocations: 287.6 kB / 0.7987 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.5407, allocations: 98.78 kB / 0.7988 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.543, allocations: 1.564 MB / 0.8003 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.543, allocations: 12 kB / 0.8003 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.543, allocations: 0 / 0.8003 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.543, allocations: 15.86 kB / 0.8004 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006311/0.5493, allocations: 4.47 MB / 0.8047 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5493, allocations: 0 / 0.8047 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.5505, allocations: 251.6 kB / 0.805 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.5505, allocations: 4 kB / 0.805 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.078e-05/0.5506, allocations: 19.94 kB / 0.805 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.5506, allocations: 7.938 kB / 0.805 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5506, allocations: 7.984 kB / 0.805 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.5533, allocations: 1.912 MB / 0.8069 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/0.554, allocations: 323.7 kB / 0.8072 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.5541, allocations: 27.91 kB / 0.8072 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008775/0.555, allocations: 119.8 kB / 0.8073 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.5552, allocations: 52.53 kB / 0.8074 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.5553, allocations: 20 kB / 0.8074 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001206/0.5565, allocations: 0.7956 MB / 0.8082 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5565, allocations: 0 / 0.8082 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003253/0.5598, allocations: 1.305 MB / 0.8094 GB, free: 8.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002098/0.56, allocations: 127.1 kB / 0.8096 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004272/0.5643, allocations: 2.982 MB / 0.8125 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5643, allocations: 0 / 0.8125 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009144/0.5652, allocations: 0.6569 MB / 0.8131 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.5667, allocations: 202.3 kB / 0.8133 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/0.5741, allocations: 4.502 MB / 0.8177 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/0.5763, allocations: 2.214 MB / 0.8199 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00242/0.5788, allocations: 1.101 MB / 0.8209 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.5791, allocations: 87.42 kB / 0.821 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of SimCode: time 2.043e-06/0.5791, allocations: 0 / 0.821 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.02886/0.608, allocations: 15.86 MB / 0.8365 GB, free: 12.61 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)