Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.215/2.215, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 188.7 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.489/2.489, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009023/0.0009023, allocations: 100.1 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004865, allocations: 15.41 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9394/1.144, allocations: 166.1 MB / 1.062 GB, free: 63.69 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004053/1.145, allocations: 110.2 kB / 1.062 GB, free: 63.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3953/1.54, allocations: 105.4 MB / 1.165 GB, free: 35.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.216e-06/1.54, allocations: 4 kB / 1.165 GB, free: 35.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001675/1.54, allocations: 66.7 kB / 1.165 GB, free: 35.7 MB / 0.698 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.01144/1.552, allocations: 2.526 MB / 1.167 GB, free: 34.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.552, allocations: 11.75 kB / 1.167 GB, free: 34.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009475/1.561, allocations: 1.014 MB / 1.168 GB, free: 33.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005438/1.567, allocations: 1.639 MB / 1.17 GB, free: 33.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002943/1.567, allocations: 224.7 kB / 1.17 GB, free: 33.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/1.569, allocations: 291.7 kB / 1.17 GB, free: 33.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/1.586, allocations: 4.832 MB / 1.175 GB, free: 31.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/1.587, allocations: 192 / 1.175 GB, free: 31.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008969/1.588, allocations: 131.7 kB / 1.175 GB, free: 31.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003519/1.588, allocations: 192 kB / 1.175 GB, free: 31.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/1.603, allocations: 4.228 MB / 1.179 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04164/1.644, allocations: 23.12 MB / 1.202 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00727/1.652, allocations: 3.173 MB / 1.205 GB, free: 7.023 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/1.654, allocations: 0.9133 MB / 1.206 GB, free: 6.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.654, allocations: 109.7 kB / 1.206 GB, free: 5.965 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/1.654, allocations: 51.14 kB / 1.206 GB, free: 5.906 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.917e-06/1.654, allocations: 0 / 1.206 GB, free: 5.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.004815/1.659, allocations: 2.058 MB / 1.208 GB, free: 3.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/1.659, allocations: 226.4 kB / 1.208 GB, free: 3.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/1.661, allocations: 1.09 MB / 1.21 GB, free: 2.469 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002807/1.662, allocations: 37.7 kB / 1.21 GB, free: 2.426 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008975/1.662, allocations: 1.292 MB / 1.211 GB, free: 1.113 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004853/1.663, allocations: 295.9 kB / 1.211 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/1.663, allocations: 32 kB / 1.211 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002164/1.663, allocations: 406.7 kB / 1.212 GB, free: 392 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/1.666, allocations: 0.8822 MB / 1.212 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003443/1.669, allocations: 1.495 MB / 1.214 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/1.673, allocations: 1.186 MB / 1.215 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/1.673, allocations: 4 kB / 1.215 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00683/1.68, allocations: 2.476 MB / 1.217 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006969/1.68, allocations: 0.6467 MB / 1.218 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.111e-05/1.68, allocations: 16 kB / 1.218 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.048e-05/1.68, allocations: 28 kB / 1.218 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/1.684, allocations: 471.2 kB / 1.219 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-05/1.684, allocations: 47.78 kB / 1.219 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/1.688, allocations: 341.8 kB / 1.219 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003528/1.688, allocations: 83.97 kB / 1.219 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.688, allocations: 7.938 kB / 1.219 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006367/1.694, allocations: 2.21 MB / 1.221 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-05/1.695, allocations: 20 kB / 1.221 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.341e-05/1.695, allocations: 28 kB / 1.221 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/1.698, allocations: 443.2 kB / 1.222 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.506e-05/1.698, allocations: 39.86 kB / 1.222 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/1.701, allocations: 246.7 kB / 1.222 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/1.701, allocations: 79.97 kB / 1.222 GB, free: 5.113 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003615/1.705, allocations: 1.277 MB / 1.223 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/1.705, allocations: 102.8 kB / 1.223 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/1.71, allocations: 1.567 MB / 1.225 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/1.71, allocations: 11.94 kB / 1.225 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.71, allocations: 4 kB / 1.225 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/1.71, allocations: 7.969 kB / 1.225 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/1.723, allocations: 4.502 MB / 1.229 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.723, allocations: 0 / 1.229 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.725, allocations: 243.6 kB / 1.229 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/1.725, allocations: 4 kB / 1.229 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/1.725, allocations: 16 kB / 1.23 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/1.725, allocations: 4 kB / 1.23 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.725, allocations: 7.938 kB / 1.23 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003845/1.729, allocations: 1.908 MB / 1.231 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.73, allocations: 363.6 kB / 1.232 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/1.73, allocations: 20 kB / 1.232 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.732, allocations: 119.8 kB / 1.232 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/1.732, allocations: 60.45 kB / 1.232 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/1.732, allocations: 20 kB / 1.232 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001935/1.734, allocations: 0.7839 MB / 1.233 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.31e-07/1.734, allocations: 0 / 1.233 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005421/1.74, allocations: 1.368 MB / 1.234 GB, free: 8.547 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003623/1.74, allocations: 129.2 kB / 1.234 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007909/1.748, allocations: 2.964 MB / 1.237 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.748, allocations: 128 / 1.237 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.75, allocations: 0.6633 MB / 1.238 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/1.752, allocations: 192.5 kB / 1.238 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.766, allocations: 5.545 MB / 1.243 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004531/1.771, allocations: 2.218 MB / 1.245 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004942/1.776, allocations: 1.097 MB / 1.247 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/1.777, allocations: 87.42 kB / 1.247 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of SimCode: time 1.222e-06/1.777, allocations: 0 / 1.247 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.04822/1.825, allocations: 15.07 MB / 1.261 GB, free: 12.61 MB / 0.7605 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)