Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00142/0.00142, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001682/0.001682, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002769/0.00277, allocations: 278.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9539/0.9539, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 99.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5562, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.005968/0.5622, allocations: 2.615 MB / 0.7696 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.5656, allocations: 1.469 MB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.5657, allocations: 7.938 kB / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.5668, allocations: 230.6 kB / 0.7713 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000678/0.5675, allocations: 195.2 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.568, allocations: 139.7 kB / 0.7716 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.5684, allocations: 235.2 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.5689, allocations: 182.1 kB / 0.772 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.5691, allocations: 99.67 kB / 0.7721 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.5694, allocations: 111.6 kB / 0.7722 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.5695, allocations: 16 kB / 0.7722 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.5701, allocations: 223.6 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.5702, allocations: 71.81 kB / 0.7725 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.5704, allocations: 95.52 kB / 0.7726 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.571, allocations: 321.6 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.571, allocations: 0 / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.226e-06/0.571, allocations: 0 / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.571, allocations: 4 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB 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.001074/0.5721, allocations: 487.2 kB / 0.7733 GB, free: 13.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.5722, allocations: 8.031 kB / 0.7733 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/0.5731, allocations: 80.64 kB / 0.7734 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.5736, allocations: 243.8 kB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5736, allocations: 8.703 kB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.5737, allocations: 24.3 kB / 0.7737 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006923/0.5744, allocations: 320.4 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.5744, allocations: 0 / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.5745, allocations: 8 kB / 0.774 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/0.5746, allocations: 24.27 kB / 0.774 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.5751, allocations: 256.6 kB / 0.7743 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.5774, allocations: 1.622 MB / 0.7759 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.5784, allocations: 407.2 kB / 0.7762 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.5786, allocations: 85.67 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.5788, allocations: 97.23 kB / 0.7764 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.5788, allocations: 38.5 kB / 0.7765 GB, free: 9.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/0.5789, allocations: 0 / 0.7765 GB, free: 9.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0009698/0.5798, allocations: 300.5 kB / 0.7767 GB, free: 9.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.5799, allocations: 85.3 kB / 0.7768 GB, free: 9.516 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.5801, allocations: 180.8 kB / 0.777 GB, free: 9.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.5802, allocations: 25.7 kB / 0.777 GB, free: 9.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.5803, allocations: 147.9 kB / 0.7772 GB, free: 9.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.5804, allocations: 51.3 kB / 0.7772 GB, free: 9.105 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.5805, allocations: 41.7 kB / 0.7773 GB, free: 9.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5806, allocations: 326.8 kB / 0.7776 GB, free: 8.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.5809, allocations: 84.81 kB / 0.7776 GB, free: 8.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.5811, allocations: 164 kB / 0.7778 GB, free: 8.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.5816, allocations: 249.2 kB / 0.778 GB, free: 8.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5816, allocations: 4 kB / 0.778 GB, free: 8.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005903/0.5822, allocations: 269.2 kB / 0.7783 GB, free: 7.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5822, allocations: 8 kB / 0.7783 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5823, allocations: 4 kB / 0.7783 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.5823, allocations: 7.938 kB / 0.7783 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.5827, allocations: 60.2 kB / 0.7784 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.5827, allocations: 4 kB / 0.7784 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.5829, allocations: 16.03 kB / 0.7784 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.583, allocations: 19.97 kB / 0.7784 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002648/0.5832, allocations: 172.1 kB / 0.7786 GB, free: 7.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000235/0.5835, allocations: 153.5 kB / 0.7787 GB, free: 7.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003965/0.5839, allocations: 224 kB / 0.7789 GB, free: 7.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.143e-05/0.5839, allocations: 4 kB / 0.7789 GB, free: 7.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005478/0.5845, allocations: 253.2 kB / 0.7792 GB, free: 6.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.5845, allocations: 4 kB / 0.7792 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.5845, allocations: 4.188 kB / 0.7792 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.5845, allocations: 4 kB / 0.7792 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.5848, allocations: 51.84 kB / 0.7792 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5848, allocations: 11.88 kB / 0.7793 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.585, allocations: 19.92 kB / 0.7793 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.5851, allocations: 8 kB / 0.7793 GB, free: 6.816 MB / 0.545 GB 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.0001458/0.5852, allocations: 196.5 kB / 0.7795 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.5853, allocations: 15.81 kB / 0.7795 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.5858, allocations: 207.7 kB / 0.7797 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5859, allocations: 3.938 kB / 0.7797 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5859, allocations: 0 / 0.7797 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.586, allocations: 108.8 kB / 0.7798 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.586, allocations: 0 / 0.7798 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.5863, allocations: 23.97 kB / 0.7798 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.5864, allocations: 7.984 kB / 0.7798 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000532/0.5869, allocations: 348 kB / 0.7802 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004942/0.5874, allocations: 427.9 kB / 0.7806 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001482/0.5876, allocations: 71.89 kB / 0.7806 GB, free: 5.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001529/0.5878, allocations: 145 kB / 0.7808 GB, free: 5.234 MB / 0.545 GB Notification: Performance of Backend: time 8.72e-07/0.5878, allocations: 0 / 0.7808 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.5894, allocations: 425.3 kB / 0.7812 GB, free: 4.816 MB / 0.545 GB Notification: Performance of SimCode: time 0.001227/0.5906, allocations: 0.7691 MB / 0.7819 GB, free: 4 MB / 0.545 GB Notification: Performance of Templates: time 0.0105/0.6011, allocations: 3.721 MB / 0.7856 GB, free: 324 kB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)