Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.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.001046/0.001046, allocations: 99 kB / 15.05 MB, free: 1.105 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.001201/0.001202, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.543/1.543, allocations: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007759/0.000776, allocations: 19.98 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6269/0.6277, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01799/0.6458, allocations: 15.34 MB / 0.743 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.6605, allocations: 5.564 MB / 0.7484 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.664, allocations: 43.88 kB / 0.7484 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.6664, allocations: 353.8 kB / 0.7488 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.6707, allocations: 0.5723 MB / 0.7493 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.6746, allocations: 0.7776 MB / 0.7501 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004602/0.6792, allocations: 1.891 MB / 0.7519 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01423/0.6935, allocations: 7.014 MB / 0.7588 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.6962, allocations: 1.079 MB / 0.7598 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.6994, allocations: 1.234 MB / 0.761 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.7007, allocations: 192 kB / 0.7612 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.703, allocations: 399.7 kB / 0.7616 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00255/0.7055, allocations: 1.279 MB / 0.7629 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.7071, allocations: 0.5589 MB / 0.7634 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006309/0.7135, allocations: 5.328 MB / 0.7686 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7135, allocations: 0 / 0.7686 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.965e-06/0.7135, allocations: 0 / 0.7686 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002012/0.7137, allocations: 0 / 0.7686 GB, free: 1.66 MB / 0.5762 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.00788/0.7216, allocations: 2.505 MB / 0.7711 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.7217, allocations: 16.03 kB / 0.7711 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006511/0.7282, allocations: 1.206 MB / 0.7722 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005922/0.7342, allocations: 1.584 MB / 0.7738 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.7346, allocations: 225.9 kB / 0.774 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002468/0.7371, allocations: 296 kB / 0.7743 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01981/0.757, allocations: 5.256 MB / 0.7794 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002184/0.7573, allocations: 0 / 0.7794 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001885/0.7592, allocations: 128 kB / 0.7795 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000403/0.7596, allocations: 201.1 kB / 0.7797 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.773, allocations: 4.746 MB / 0.7844 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/0.814, allocations: 23.2 MB / 0.807 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005663/0.8198, allocations: 3.187 MB / 0.8101 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.8201, allocations: 101.7 kB / 0.8102 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.355e-05/0.8202, allocations: 55.16 kB / 0.8103 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 4.809e-06/0.8202, allocations: 0 / 0.8103 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.004309/0.8245, allocations: 2.117 MB / 0.8124 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.8247, allocations: 218.2 kB / 0.8126 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.827, allocations: 1.095 MB / 0.8136 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.8272, allocations: 41.7 kB / 0.8137 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.8284, allocations: 1.285 MB / 0.8149 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.8288, allocations: 303.8 kB / 0.8152 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.8289, allocations: 28 kB / 0.8152 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002919/0.8293, allocations: 410.7 kB / 0.8156 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.8308, allocations: 0.8861 MB / 0.8165 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.833, allocations: 1.519 MB / 0.818 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.835, allocations: 1.186 MB / 0.8191 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-05/0.8351, allocations: 11.94 kB / 0.8192 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004495/0.8396, allocations: 2.504 MB / 0.8216 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.003777/0.8434, allocations: 7.489 MB / 0.8289 GB, free: 172 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.303e-05/0.8435, allocations: 20 kB / 0.8289 GB, free: 152 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.042e-05/0.8436, allocations: 32 kB / 0.829 GB, free: 120 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.8454, allocations: 475.1 kB / 0.8294 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.21e-05/0.8455, allocations: 39.86 kB / 0.8295 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.8474, allocations: 341.8 kB / 0.8298 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/0.8476, allocations: 79.98 kB / 0.8299 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8476, allocations: 4 kB / 0.8299 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003772/0.8514, allocations: 2.237 MB / 0.832 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.496e-05/0.8515, allocations: 20.75 kB / 0.8321 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.8516, allocations: 28 kB / 0.8321 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.8531, allocations: 443.2 kB / 0.8325 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.11e-05/0.8532, allocations: 39.86 kB / 0.8325 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.8547, allocations: 250.6 kB / 0.8328 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.8549, allocations: 75.98 kB / 0.8329 GB, free: 12.12 MB / 0.6544 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.002986/0.8579, allocations: 1.281 MB / 0.8341 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/0.8584, allocations: 102.7 kB / 0.8342 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.8612, allocations: 1.591 MB / 0.8358 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.8612, allocations: 19.92 kB / 0.8358 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.8612, allocations: 0 / 0.8358 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.8612, allocations: 7.984 kB / 0.8358 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009337/0.8706, allocations: 4.251 MB / 0.8399 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.8706, allocations: 4 kB / 0.8399 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.8717, allocations: 247.6 kB / 0.8402 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.45e-05/0.8717, allocations: 11.94 kB / 0.8402 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.8718, allocations: 16 kB / 0.8402 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.8718, allocations: 7.953 kB / 0.8402 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.8718, allocations: 4 kB / 0.8402 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.8744, allocations: 2.003 MB / 0.8422 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/0.8753, allocations: 359.6 kB / 0.8425 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/0.8756, allocations: 20 kB / 0.8425 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.8767, allocations: 131.8 kB / 0.8427 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.8768, allocations: 48.55 kB / 0.8427 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.8769, allocations: 24 kB / 0.8427 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001389/0.8783, allocations: 0.7917 MB / 0.8435 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8783, allocations: 0 / 0.8435 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0047/0.883, allocations: 1.306 MB / 0.8448 GB, free: 15.73 MB / 0.67 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.0003153/0.8834, allocations: 133.2 kB / 0.8449 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005522/0.8889, allocations: 3.01 MB / 0.8478 GB, free: 12.59 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.8889, allocations: 0.875 kB / 0.8478 GB, free: 12.59 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.89, allocations: 0.6792 MB / 0.8485 GB, free: 11.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.8912, allocations: 162.5 kB / 0.8487 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.9026, allocations: 5.525 MB / 0.8541 GB, free: 6.176 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/0.9062, allocations: 2.263 MB / 0.8563 GB, free: 3.883 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003067/0.9093, allocations: 1.097 MB / 0.8573 GB, free: 2.781 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.9098, allocations: 87.42 kB / 0.8574 GB, free: 2.695 MB / 0.67 GB Notification: Performance of SimCode: time 1.733e-06/0.9098, allocations: 0 / 0.8574 GB, free: 2.695 MB / 0.67 GB Notification: Performance of Templates: time 0.03206/0.9419, allocations: 14.73 MB / 0.8718 GB, free: 4.082 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) Environment - environmentSimulation: