Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 293 MB / 309 MB, free: 4.836 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 180.2 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 0.6383 GB, free: 8.215 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007333/0.0007333, allocations: 101 kB / 0.7527 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005383, allocations: 19.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2392, allocations: 116.4 MB / 0.9905 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6692/0.9085, allocations: 173.6 MB / 1.16 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.9088, allocations: 108.5 kB / 1.16 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2538/1.163, allocations: 105.4 MB / 1.263 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.985e-06/1.163, allocations: 0 / 1.263 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000135/1.163, allocations: 67.92 kB / 1.263 GB, free: 13.39 MB / 0.8386 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.006587/1.169, allocations: 2.506 MB / 1.266 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.169, allocations: 8.031 kB / 1.266 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005753/1.175, allocations: 1.008 MB / 1.267 GB, free: 9.805 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004252/1.179, allocations: 1.662 MB / 1.268 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/1.18, allocations: 230.3 kB / 1.268 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/1.181, allocations: 292.3 kB / 1.269 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/1.193, allocations: 4.821 MB / 1.273 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.534e-05/1.193, allocations: 192 / 1.273 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008086/1.194, allocations: 131.9 kB / 1.274 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002686/1.195, allocations: 193.1 kB / 1.274 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008613/1.203, allocations: 4.236 MB / 1.278 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0312/1.234, allocations: 23.12 MB / 1.3 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/1.239, allocations: 3.172 MB / 1.304 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/1.24, allocations: 0.9135 MB / 1.304 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/1.241, allocations: 105.7 kB / 1.305 GB, free: 252 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/1.241, allocations: 51.14 kB / 1.305 GB, free: 192 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 3.427e-06/1.241, allocations: 0 / 1.305 GB, free: 192 kB / 0.8698 GB Notification: Performance of matching and sorting (n=82): time 0.003563/1.244, allocations: 2.059 MB / 1.307 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.244, allocations: 222.2 kB / 1.307 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/1.246, allocations: 1.094 MB / 1.308 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/1.246, allocations: 37.7 kB / 1.308 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/1.247, allocations: 1.285 MB / 1.309 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/1.248, allocations: 299.9 kB / 1.309 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/1.248, allocations: 32 kB / 1.309 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002507/1.248, allocations: 414.6 kB / 1.31 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/1.25, allocations: 0.8783 MB / 1.311 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/1.252, allocations: 1.499 MB / 1.312 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003161/1.255, allocations: 2.358 MB / 1.314 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/1.255, allocations: 8 kB / 1.314 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004049/1.259, allocations: 2.465 MB / 1.317 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005834/1.259, allocations: 0.6474 MB / 1.318 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/1.26, allocations: 20 kB / 1.318 GB, free: 1.969 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.798e-05/1.26, allocations: 28 kB / 1.318 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.261, allocations: 471.2 kB / 1.318 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.409e-05/1.261, allocations: 43.8 kB / 1.318 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.263, allocations: 345.8 kB / 1.318 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.263, allocations: 79.98 kB / 1.318 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.263, allocations: 4 kB / 1.318 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003655/1.267, allocations: 2.21 MB / 1.321 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-05/1.267, allocations: 20.03 kB / 1.321 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.728e-05/1.267, allocations: 31.98 kB / 1.321 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/1.268, allocations: 443.2 kB / 1.321 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.892e-05/1.269, allocations: 39.86 kB / 1.321 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.27, allocations: 246.6 kB / 1.321 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/1.27, allocations: 83.98 kB / 1.321 GB, free: 13.96 MB / 0.9011 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.002361/1.272, allocations: 1.277 MB / 1.323 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/1.273, allocations: 102.9 kB / 1.323 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/1.275, allocations: 1.56 MB / 1.324 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.275, allocations: 12 kB / 1.324 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.275, allocations: 0 / 1.324 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.275, allocations: 7.984 kB / 1.324 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009811/1.285, allocations: 4.498 MB / 1.329 GB, free: 6.348 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.285, allocations: 4 kB / 1.329 GB, free: 6.344 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/1.286, allocations: 231.6 kB / 1.329 GB, free: 6.117 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/1.286, allocations: 4 kB / 1.329 GB, free: 6.113 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/1.286, allocations: 20 kB / 1.329 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.286, allocations: 4 kB / 1.329 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.286, allocations: 3.938 kB / 1.329 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/1.289, allocations: 1.915 MB / 1.331 GB, free: 4.152 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008273/1.29, allocations: 359.6 kB / 1.331 GB, free: 3.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/1.29, allocations: 16 kB / 1.331 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.291, allocations: 123.8 kB / 1.331 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.291, allocations: 60.47 kB / 1.331 GB, free: 3.586 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/1.291, allocations: 20 kB / 1.331 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001515/1.293, allocations: 0.7878 MB / 1.332 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.433e-06/1.293, allocations: 0 / 1.332 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004476/1.297, allocations: 1.372 MB / 1.334 GB, free: 1.402 MB / 0.9011 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.0002818/1.298, allocations: 131.1 kB / 1.334 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004917/1.303, allocations: 2.956 MB / 1.337 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.303, allocations: 384 / 1.337 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009886/1.304, allocations: 0.6711 MB / 1.337 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.306, allocations: 180.7 kB / 1.337 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009538/1.315, allocations: 5.541 MB / 1.343 GB, free: 7.883 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/1.318, allocations: 2.206 MB / 1.345 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002914/1.321, allocations: 1.105 MB / 1.346 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/1.321, allocations: 95.41 kB / 1.346 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of SimCode: time 1.803e-06/1.321, allocations: 0 / 1.346 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of Templates: time 0.02958/1.351, allocations: 15.12 MB / 1.361 GB, free: 5.402 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)