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.000922/0.000922, allocations: 97.44 kB / 15.69 MB, free: 488 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.0008463/0.0008463, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.255/1.255, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6322/0.6322, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 77.11 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002568/0.1366, allocations: 2.194 MB / 0.5589 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1383, allocations: 1.357 MB / 0.5602 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.1384, allocations: 7.938 kB / 0.5602 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.1385, allocations: 19.84 kB / 0.5602 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1389, allocations: 123.6 kB / 0.5603 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1392, allocations: 119.7 kB / 0.5605 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1394, allocations: 123.8 kB / 0.5606 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000526/0.1399, allocations: 310.4 kB / 0.5609 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.14, allocations: 59.83 kB / 0.5609 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1402, allocations: 79.67 kB / 0.561 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1402, allocations: 8 kB / 0.561 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.1404, allocations: 119.8 kB / 0.5611 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.1405, allocations: 59.81 kB / 0.5612 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.1405, allocations: 53.64 kB / 0.5612 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1408, allocations: 239.7 kB / 0.5615 GB, free: 6.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1408, allocations: 0 / 0.5615 GB, free: 6.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1408, allocations: 0 / 0.5615 GB, free: 6.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1408, allocations: 0 / 0.5615 GB, free: 6.777 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.0005571/0.1414, allocations: 459 kB / 0.5619 GB, free: 6.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1414, allocations: 12.03 kB / 0.5619 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.1415, allocations: 46.55 kB / 0.562 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.142, allocations: 91.61 kB / 0.562 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1423, allocations: 230.7 kB / 0.5623 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1423, allocations: 12.33 kB / 0.5623 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.1424, allocations: 16 kB / 0.5623 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.1428, allocations: 320 kB / 0.5626 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1428, allocations: 0 / 0.5626 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.1428, allocations: 8 kB / 0.5626 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.1429, allocations: 32.14 kB / 0.5626 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.1432, allocations: 248.6 kB / 0.5629 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.1446, allocations: 1.63 MB / 0.5645 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.1452, allocations: 415.1 kB / 0.5649 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.1453, allocations: 85.11 kB / 0.5649 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1454, allocations: 34.55 kB / 0.565 GB, free: 2.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1454, allocations: 0 / 0.565 GB, free: 2.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005746/0.1459, allocations: 306 kB / 0.5653 GB, free: 2.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.146, allocations: 81.11 kB / 0.5653 GB, free: 2.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1461, allocations: 169.6 kB / 0.5655 GB, free: 2.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1462, allocations: 33.7 kB / 0.5655 GB, free: 2.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.1463, allocations: 151.7 kB / 0.5657 GB, free: 2.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.1463, allocations: 47.56 kB / 0.5657 GB, free: 2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.1463, allocations: 7.938 kB / 0.5657 GB, free: 1.992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.1464, allocations: 334.9 kB / 0.5661 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1465, allocations: 75.95 kB / 0.5661 GB, free: 1.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1467, allocations: 149.8 kB / 0.5663 GB, free: 1.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1468, allocations: 103.9 kB / 0.5664 GB, free: 1.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.1468, allocations: 4 kB / 0.5664 GB, free: 1.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003389/0.1472, allocations: 269.2 kB / 0.5666 GB, free: 1.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.1475, allocations: 0.9599 MB / 0.5676 GB, free: 0 / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.1475, allocations: 4.047 kB / 0.5676 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1475, allocations: 4 kB / 0.5676 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.1477, allocations: 51.92 kB / 0.5676 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1478, allocations: 11.92 kB / 0.5676 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.1479, allocations: 15.89 kB / 0.5677 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.1479, allocations: 16 kB / 0.5677 GB, free: 15.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.1479, allocations: 4 kB / 0.5677 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002673/0.1482, allocations: 207.6 kB / 0.5679 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1482, allocations: 4 kB / 0.5679 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-06/0.1482, allocations: 4 kB / 0.5679 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1484, allocations: 51.91 kB / 0.5679 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1484, allocations: 12.44 kB / 0.5679 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.1485, allocations: 15.94 kB / 0.568 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1485, allocations: 19.98 kB / 0.568 GB, free: 15.59 MB / 446.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.0001273/0.1487, allocations: 221 kB / 0.5682 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.1487, allocations: 19.77 kB / 0.5682 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.149, allocations: 199.7 kB / 0.5684 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1491, allocations: 8 kB / 0.5684 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1491, allocations: 192 / 0.5684 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1491, allocations: 0 / 0.5684 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.1502, allocations: 0.9689 MB / 0.5693 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1502, allocations: 4 kB / 0.5694 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.1503, allocations: 35.91 kB / 0.5694 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.1503, allocations: 8.438 kB / 0.5694 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1504, allocations: 8 kB / 0.5694 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1504, allocations: 4 kB / 0.5694 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1504, allocations: 4 kB / 0.5694 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.1508, allocations: 0.5733 MB / 0.57 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.151, allocations: 116.8 kB / 0.5701 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.151, allocations: 8 kB / 0.5701 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.1512, allocations: 15.94 kB / 0.5701 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1512, allocations: 15.92 kB / 0.5701 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1512, allocations: 8 kB / 0.5701 GB, free: 13.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1514, allocations: 135.7 kB / 0.5703 GB, free: 12.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1514, allocations: 0 / 0.5703 GB, free: 12.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004891/0.1519, allocations: 76 kB / 0.5703 GB, free: 12.89 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.001112/0.153, allocations: 2.013 MB / 0.5723 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.1534, allocations: 300.2 kB / 0.5726 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1534, allocations: 7.938 kB / 0.5726 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.593e-05/0.1535, allocations: 79.83 kB / 0.5727 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1539, allocations: 29.12 kB / 0.5727 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.1559, allocations: 2.739 MB / 0.5754 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1562, allocations: 0.744 MB / 0.5761 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.1564, allocations: 81.47 kB / 0.5762 GB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.1565, allocations: 55.41 kB / 0.5762 GB, free: 6.594 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.1565, allocations: 0 / 0.5762 GB, free: 6.594 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/1.164, allocations: 3.321 MB / 0.5795 GB, free: 3.477 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.164, allocations: 208.1 kB / 0.5797 GB, free: 3.238 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/3.008, allocations: 4 kB / 0.5797 GB, free: 3.234 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: