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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007527/0.0007526, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008703/0.0008705, allocations: 175.9 kB / 16.58 MB, free: 6.797 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.276/1.276, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6511/0.6511, allocations: 113.7 MB / 405.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.000291, allocations: 9.75 kB / 493.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 77.1 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002775/0.1369, allocations: 2.229 MB / 0.5591 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.139, allocations: 1.376 MB / 0.5604 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1392, allocations: 0 / 0.5604 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.1394, allocations: 27.78 kB / 0.5604 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.1399, allocations: 139.4 kB / 0.5606 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.1403, allocations: 121.6 kB / 0.5607 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.1406, allocations: 271.2 kB / 0.561 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005632/0.1412, allocations: 298.5 kB / 0.5612 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1414, allocations: 87.64 kB / 0.5613 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1416, allocations: 107.6 kB / 0.5614 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1417, allocations: 8 kB / 0.5614 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.1419, allocations: 119.8 kB / 0.5615 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.142, allocations: 71.78 kB / 0.5616 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.1421, allocations: 53.64 kB / 0.5617 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1424, allocations: 239.7 kB / 0.5619 GB, free: 6.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1424, allocations: 0 / 0.5619 GB, free: 6.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1424, allocations: 0 / 0.5619 GB, free: 6.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1424, allocations: 0 / 0.5619 GB, free: 6.5 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.0006305/0.143, allocations: 451.1 kB / 0.5623 GB, free: 6.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1431, allocations: 15.91 kB / 0.5623 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.1431, allocations: 62.48 kB / 0.5624 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/0.1437, allocations: 83.61 kB / 0.5625 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1439, allocations: 222.8 kB / 0.5627 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.144, allocations: 12.33 kB / 0.5627 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.144, allocations: 19.98 kB / 0.5627 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.1445, allocations: 324 kB / 0.563 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1445, allocations: 4 kB / 0.563 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1445, allocations: 7.984 kB / 0.563 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.1446, allocations: 20.27 kB / 0.5631 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.1449, allocations: 248.6 kB / 0.5633 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.1464, allocations: 1.63 MB / 0.5649 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.147, allocations: 415.1 kB / 0.5653 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1471, allocations: 97.88 kB / 0.5654 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.1472, allocations: 89.03 kB / 0.5655 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1473, allocations: 38.55 kB / 0.5655 GB, free: 2.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1473, allocations: 0 / 0.5655 GB, free: 2.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005872/0.1479, allocations: 292.6 kB / 0.5658 GB, free: 2.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1479, allocations: 85.3 kB / 0.5659 GB, free: 2.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1481, allocations: 177.6 kB / 0.566 GB, free: 1.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1481, allocations: 29.7 kB / 0.5661 GB, free: 1.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.1482, allocations: 151.7 kB / 0.5662 GB, free: 1.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1482, allocations: 47.36 kB / 0.5663 GB, free: 1.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.1483, allocations: 3.938 kB / 0.5663 GB, free: 1.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1484, allocations: 326.8 kB / 0.5666 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.1485, allocations: 83.88 kB / 0.5666 GB, free: 1.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.1487, allocations: 149.3 kB / 0.5668 GB, free: 1.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1488, allocations: 107.9 kB / 0.5669 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1488, allocations: 0 / 0.5669 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003622/0.1492, allocations: 257.3 kB / 0.5671 GB, free: 0.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.84e-05/0.1493, allocations: 173.7 kB / 0.5673 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1493, allocations: 0 / 0.5673 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1493, allocations: 4 kB / 0.5673 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.1495, allocations: 51.92 kB / 0.5674 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.1496, allocations: 11.92 kB / 0.5674 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1497, allocations: 19.89 kB / 0.5674 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1497, allocations: 12 kB / 0.5674 GB, free: 376 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/0.1497, allocations: 4 kB / 0.5674 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000288/0.15, allocations: 211.8 kB / 0.5676 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.15, allocations: 0 / 0.5676 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.1501, allocations: 7.938 kB / 0.5676 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.1502, allocations: 55.91 kB / 0.5677 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1502, allocations: 7.984 kB / 0.5677 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.315e-05/0.1503, allocations: 8.25 kB / 0.5677 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1504, allocations: 16 kB / 0.5677 GB, free: 64 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.1506, allocations: 225 kB / 0.5679 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.1506, allocations: 19.81 kB / 0.5679 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.151, allocations: 203.4 kB / 0.5681 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.151, allocations: 4 kB / 0.5681 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.151, allocations: 0 / 0.5681 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.151, allocations: 4 kB / 0.5681 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.1522, allocations: 0.9651 MB / 0.5691 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1522, allocations: 4 kB / 0.5691 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.1523, allocations: 39.91 kB / 0.5691 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1523, allocations: 4 kB / 0.5691 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1524, allocations: 7.953 kB / 0.5691 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1524, allocations: 4.438 kB / 0.5691 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1524, allocations: 8 kB / 0.5691 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.1527, allocations: 428.8 kB / 0.5695 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.162e-05/0.1528, allocations: 116.8 kB / 0.5697 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1529, allocations: 12 kB / 0.5697 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.1531, allocations: 15.94 kB / 0.5697 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1531, allocations: 15.92 kB / 0.5697 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1531, allocations: 8 kB / 0.5697 GB, free: 13.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1532, allocations: 131.7 kB / 0.5698 GB, free: 13.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1532, allocations: 0 / 0.5698 GB, free: 13.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004847/0.1537, allocations: 76 kB / 0.5699 GB, free: 13.6 MB / 446.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 (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.0006482/0.1544, allocations: 0.9721 MB / 0.5709 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004471/0.1548, allocations: 299.5 kB / 0.5711 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1549, allocations: 0 / 0.5711 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.155, allocations: 85.83 kB / 0.5712 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.1554, allocations: 31.97 kB / 0.5713 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1571, allocations: 1.233 MB / 0.5725 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1574, allocations: 0.7441 MB / 0.5732 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1576, allocations: 77.5 kB / 0.5733 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.1577, allocations: 47.42 kB / 0.5733 GB, free: 9.918 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1577, allocations: 0 / 0.5733 GB, free: 9.918 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.1709, allocations: 3.355 MB / 0.5766 GB, free: 6.777 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.1711, allocations: 206.7 kB / 0.5768 GB, free: 6.543 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.778, allocations: 0 / 0.5768 GB, free: 6.543 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: