Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009536, allocations: 93.34 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009218/0.0009216, allocations: 187.4 kB / 16.92 MB, free: 6.891 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7234/0.7234, allocations: 123 MB / 415.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004016, allocations: 12 kB / 0.4933 GB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4466, allocations: 79.28 MB / 0.5708 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00315/0.4498, allocations: 2.296 MB / 0.573 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.452, allocations: 1.467 MB / 0.5744 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.4521, allocations: 2.469 kB / 0.5744 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.4523, allocations: 31.14 kB / 0.5745 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.4528, allocations: 179.4 kB / 0.5746 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.4532, allocations: 140.9 kB / 0.5748 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000405/0.4536, allocations: 345.2 kB / 0.5751 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/0.4542, allocations: 331.8 kB / 0.5754 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.4544, allocations: 78.28 kB / 0.5755 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.4547, allocations: 112.7 kB / 0.5756 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.4547, allocations: 6.969 kB / 0.5756 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.4551, allocations: 268.5 kB / 0.5759 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.405e-05/0.4552, allocations: 66.58 kB / 0.5759 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/0.4554, allocations: 106.6 kB / 0.576 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.4558, allocations: 324.5 kB / 0.5763 GB, free: 7.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4559, allocations: 0 / 0.5763 GB, free: 7.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4559, allocations: 1.438 kB / 0.5763 GB, free: 7.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.4559, allocations: 0 / 0.5763 GB, free: 7.508 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006338/0.4565, allocations: 466 kB / 0.5768 GB, free: 7.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4566, allocations: 9.719 kB / 0.5768 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006206/0.4572, allocations: 78.92 kB / 0.5769 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.4574, allocations: 233.3 kB / 0.5771 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4575, allocations: 11.39 kB / 0.5771 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.4575, allocations: 23.47 kB / 0.5771 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.458, allocations: 322.6 kB / 0.5774 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.458, allocations: 1.719 kB / 0.5774 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.4581, allocations: 5.625 kB / 0.5774 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/0.4581, allocations: 20.25 kB / 0.5774 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.4585, allocations: 251.1 kB / 0.5777 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.4599, allocations: 1.634 MB / 0.5793 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.4605, allocations: 419.4 kB / 0.5797 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.4607, allocations: 87.67 kB / 0.5798 GB, free: 4.742 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.4608, allocations: 86.41 kB / 0.5798 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.4608, allocations: 41.22 kB / 0.5799 GB, free: 4.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.4609, allocations: 0 / 0.5799 GB, free: 4.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006943/0.4616, allocations: 307.5 kB / 0.5802 GB, free: 4.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.4616, allocations: 80.19 kB / 0.5803 GB, free: 4.367 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.4618, allocations: 176.2 kB / 0.5804 GB, free: 4.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.4618, allocations: 27.11 kB / 0.5805 GB, free: 4.211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.4619, allocations: 153.6 kB / 0.5806 GB, free: 4.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.4619, allocations: 50.56 kB / 0.5806 GB, free: 4.031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.4619, allocations: 21.8 kB / 0.5807 GB, free: 4.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.462, allocations: 326.1 kB / 0.581 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4622, allocations: 81.12 kB / 0.5811 GB, free: 3.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4623, allocations: 154.8 kB / 0.5812 GB, free: 3.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.4627, allocations: 249.2 kB / 0.5814 GB, free: 3.383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4627, allocations: 1.438 kB / 0.5814 GB, free: 3.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004576/0.4631, allocations: 276.5 kB / 0.5817 GB, free: 3.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.424e-05/0.4632, allocations: 164.8 kB / 0.5819 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4633, allocations: 1.906 kB / 0.5819 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4633, allocations: 4.031 kB / 0.5819 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.4636, allocations: 53.45 kB / 0.5819 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4636, allocations: 4.906 kB / 0.5819 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.4637, allocations: 16.45 kB / 0.5819 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.4638, allocations: 9.109 kB / 0.5819 GB, free: 3.062 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.4638, allocations: 4.312 kB / 0.582 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003911/0.4642, allocations: 210.9 kB / 0.5822 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4642, allocations: 3.969 kB / 0.5822 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.4642, allocations: 3.5 kB / 0.5822 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.4644, allocations: 50.17 kB / 0.5822 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4644, allocations: 4.5 kB / 0.5822 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.4645, allocations: 25.2 kB / 0.5822 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.4645, allocations: 9.172 kB / 0.5822 GB, free: 2.965 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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.0001436/0.4647, allocations: 231.1 kB / 0.5825 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.4648, allocations: 15.77 kB / 0.5825 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.4652, allocations: 200.6 kB / 0.5827 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4652, allocations: 3.125 kB / 0.5827 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4652, allocations: 3.938 kB / 0.5827 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4652, allocations: 1.938 kB / 0.5827 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.4665, allocations: 0.9739 MB / 0.5836 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4665, allocations: 4.672 kB / 0.5836 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.4667, allocations: 34.39 kB / 0.5837 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.4667, allocations: 4.875 kB / 0.5837 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.4667, allocations: 4.875 kB / 0.5837 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.4667, allocations: 8.453 kB / 0.5837 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.4667, allocations: 7.938 kB / 0.5837 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.4671, allocations: 442.3 kB / 0.5841 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.4672, allocations: 103.5 kB / 0.5842 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.4672, allocations: 11 kB / 0.5842 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.4674, allocations: 11.88 kB / 0.5842 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4675, allocations: 26.14 kB / 0.5843 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.4675, allocations: 10.81 kB / 0.5843 GB, free: 1.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.4676, allocations: 133.9 kB / 0.5844 GB, free: 1.312 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4676, allocations: 0 / 0.5844 GB, free: 1.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005463/0.4682, allocations: 71.44 kB / 0.5845 GB, free: 1.305 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0001507/0.4683, allocations: 116.3 kB / 0.5846 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004554/0.4688, allocations: 302.1 kB / 0.5849 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.4688, allocations: 2 kB / 0.5849 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4689, allocations: 90.47 kB / 0.585 GB, free: 1.078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.4695, allocations: 35.27 kB / 0.585 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007363/0.4702, allocations: 0.555 MB / 0.5855 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.4705, allocations: 0.7492 MB / 0.5863 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.4707, allocations: 78.92 kB / 0.5863 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.4708, allocations: 18.47 kB / 0.5864 GB, free: 15.93 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4708, allocations: 0 / 0.5864 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Templates: time 0.005282/0.4761, allocations: 1.699 MB / 0.588 GB, free: 15.8 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)