Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.698/2.698, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001366/0.001366, allocations: 171.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.394/2.394, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000995/0.0009947, allocations: 92.7 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.000491, allocations: 11.64 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02288/0.2551, allocations: 15.59 MB / 0.9936 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.267, allocations: 5.583 MB / 0.999 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.2686, allocations: 43.88 kB / 0.9991 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.2699, allocations: 313.7 kB / 0.9994 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.2723, allocations: 0.6419 MB / 1 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.2752, allocations: 0.689 MB / 1.001 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006437/0.2817, allocations: 4.954 MB / 1.006 GB, free: 468 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0164/0.2982, allocations: 7.033 MB / 1.012 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.3017, allocations: 1.308 MB / 1.014 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.3065, allocations: 1.893 MB / 1.016 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009814/0.3076, allocations: 188 kB / 1.016 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.3097, allocations: 411.7 kB / 1.016 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.3125, allocations: 1.38 MB / 1.017 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.3138, allocations: 0.5628 MB / 1.018 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008978/0.3228, allocations: 5.334 MB / 1.023 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.3229, allocations: 4 kB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.242e-06/0.3229, allocations: 3.984 kB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001978/0.3231, allocations: 4 kB / 1.023 GB, free: 14.25 MB / 0.6511 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.009317/0.3325, allocations: 2.506 MB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3325, allocations: 8.031 kB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009151/0.3417, allocations: 1.144 MB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/0.3469, allocations: 1.584 MB / 1.028 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/0.3474, allocations: 233.9 kB / 1.029 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/0.3489, allocations: 292 kB / 1.029 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.366, allocations: 5.276 MB / 1.034 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.316e-05/0.3661, allocations: 7.938 kB / 1.034 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007579/0.3669, allocations: 120 kB / 1.034 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004164/0.3673, allocations: 213.1 kB / 1.034 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.3828, allocations: 4.747 MB / 1.039 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04688/0.4297, allocations: 23.19 MB / 1.062 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00877/0.4386, allocations: 3.191 MB / 1.065 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.4411, allocations: 0.9066 MB / 1.066 GB, free: 84 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6617/1.103, allocations: 98.67 kB / 1.066 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.955e-05/1.103, allocations: 51.44 kB / 1.066 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 5.711e-06/1.103, allocations: 0 / 1.066 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.006558/1.11, allocations: 2.079 MB / 1.068 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/1.11, allocations: 223.6 kB / 1.068 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/1.113, allocations: 1.089 MB / 1.069 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002384/1.113, allocations: 42.5 kB / 1.069 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/1.114, allocations: 1.28 MB / 1.07 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/1.114, allocations: 305.8 kB / 1.071 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/1.115, allocations: 29.81 kB / 1.071 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002534/1.115, allocations: 409.3 kB / 1.071 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/1.118, allocations: 0.883 MB / 1.072 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/1.121, allocations: 1.508 MB / 1.073 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/1.124, allocations: 1.182 MB / 1.075 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.336e-05/1.125, allocations: 5.188 kB / 1.075 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007795/1.132, allocations: 2.489 MB / 1.077 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000484/1.133, allocations: 0.6461 MB / 1.078 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/1.133, allocations: 19 kB / 1.078 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.276e-05/1.133, allocations: 31.2 kB / 1.078 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/1.137, allocations: 463.9 kB / 1.078 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.271e-05/1.137, allocations: 43.31 kB / 1.078 GB, free: 78.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/1.14, allocations: 354.5 kB / 1.078 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003687/1.14, allocations: 78.92 kB / 1.079 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.141, allocations: 4.062 kB / 1.079 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006512/1.147, allocations: 2.213 MB / 1.081 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-05/1.147, allocations: 19.56 kB / 1.081 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-05/1.147, allocations: 30.47 kB / 1.081 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/1.15, allocations: 446.5 kB / 1.081 GB, free: 77.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.471e-05/1.151, allocations: 39.59 kB / 1.081 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/1.153, allocations: 247.4 kB / 1.081 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/1.153, allocations: 78.17 kB / 1.082 GB, free: 77.12 MB / 0.6823 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.003138/1.156, allocations: 1.283 MB / 1.083 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/1.157, allocations: 101.3 kB / 1.083 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/1.161, allocations: 1.569 MB / 1.084 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/1.161, allocations: 9.469 kB / 1.084 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.161, allocations: 5.047 kB / 1.084 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.161, allocations: 8 kB / 1.084 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/1.173, allocations: 4.499 MB / 1.089 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.173, allocations: 1.562 kB / 1.089 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/1.175, allocations: 249 kB / 1.089 GB, free: 73.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/1.176, allocations: 4.938 kB / 1.089 GB, free: 73.94 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/1.176, allocations: 18.06 kB / 1.089 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/1.176, allocations: 5.047 kB / 1.089 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.176, allocations: 5.594 kB / 1.089 GB, free: 73.92 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/1.18, allocations: 1.916 MB / 1.091 GB, free: 72.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.181, allocations: 365.8 kB / 1.091 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/1.181, allocations: 13.75 kB / 1.091 GB, free: 72.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/1.183, allocations: 124.9 kB / 1.091 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/1.183, allocations: 58.44 kB / 1.091 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.853e-05/1.183, allocations: 23.56 kB / 1.092 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001678/1.185, allocations: 0.7892 MB / 1.092 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/1.185, allocations: 0 / 1.092 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005283/1.19, allocations: 1.299 MB / 1.094 GB, free: 71.88 MB / 0.6823 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.0003508/1.19, allocations: 120.3 kB / 1.094 GB, free: 71.78 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007969/1.198, allocations: 2.972 MB / 1.097 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.198, allocations: 4.859 kB / 1.097 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/1.2, allocations: 0.6593 MB / 1.097 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.203, allocations: 191.5 kB / 1.097 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.216, allocations: 5.534 MB / 1.103 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004048/1.22, allocations: 2.216 MB / 1.105 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004831/1.225, allocations: 1.103 MB / 1.106 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007144/1.226, allocations: 90.06 kB / 1.106 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/1.226, allocations: 0 / 1.106 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of Templates: time 0.04427/1.27, allocations: 14.79 MB / 1.121 GB, free: 58.19 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)