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.001069/0.001069, allocations: 106.6 kB / 16.4 MB, free: 6.508 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.001115/0.001115, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7201/0.7201, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 66.42 kB / 0.5572 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 76.17 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004704/0.1458, allocations: 2.606 MB / 0.6341 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1484, allocations: 1.48 MB / 0.6356 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.1486, allocations: 0 / 0.6356 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.1495, allocations: 231.1 kB / 0.6358 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005808/0.1501, allocations: 187.2 kB / 0.636 GB, free: 412 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.1506, allocations: 154.3 kB / 0.6361 GB, free: 260 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.151, allocations: 227.2 kB / 0.6363 GB, free: 32 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.1514, allocations: 177.3 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1516, allocations: 95.67 kB / 0.6366 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.1519, allocations: 119.5 kB / 0.6367 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.1519, allocations: 16 kB / 0.6367 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.1523, allocations: 227.6 kB / 0.6369 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1524, allocations: 63.81 kB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.841e-05/0.1525, allocations: 99.47 kB / 0.6371 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.153, allocations: 316 kB / 0.6374 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.153, allocations: 0 / 0.6374 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.153, allocations: 4 kB / 0.6374 GB, free: 14.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1531, allocations: 0 / 0.6374 GB, free: 14.93 MB / 494.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.000791/0.1539, allocations: 491.1 kB / 0.6379 GB, free: 14.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1539, allocations: 11.97 kB / 0.6379 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.154, allocations: 54.73 kB / 0.6379 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006285/0.1546, allocations: 84.62 kB / 0.638 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1549, allocations: 232 kB / 0.6382 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.155, allocations: 12.7 kB / 0.6382 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.155, allocations: 16.38 kB / 0.6383 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.1555, allocations: 327.9 kB / 0.6386 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1555, allocations: 0 / 0.6386 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.1556, allocations: 12 kB / 0.6386 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.1556, allocations: 20.27 kB / 0.6386 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.156, allocations: 256.5 kB / 0.6388 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.1578, allocations: 1.626 MB / 0.6404 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.1584, allocations: 431 kB / 0.6408 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1586, allocations: 85.67 kB / 0.6409 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.1587, allocations: 89.28 kB / 0.641 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1588, allocations: 30.56 kB / 0.641 GB, free: 10.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.1588, allocations: 3.938 kB / 0.641 GB, free: 10.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006454/0.1594, allocations: 312.5 kB / 0.6413 GB, free: 10.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1595, allocations: 81.11 kB / 0.6414 GB, free: 10.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1596, allocations: 168.9 kB / 0.6416 GB, free: 10.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1597, allocations: 29.92 kB / 0.6416 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.1598, allocations: 155.8 kB / 0.6418 GB, free: 10.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.1598, allocations: 47.3 kB / 0.6418 GB, free: 10 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.1599, allocations: 49.64 kB / 0.6419 GB, free: 9.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.16, allocations: 327 kB / 0.6422 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1602, allocations: 80.81 kB / 0.6422 GB, free: 9.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.1603, allocations: 152.9 kB / 0.6424 GB, free: 9.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.1607, allocations: 249.2 kB / 0.6426 GB, free: 9.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1607, allocations: 0 / 0.6426 GB, free: 9.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004069/0.1611, allocations: 265.2 kB / 0.6429 GB, free: 8.816 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1611, allocations: 8.312 kB / 0.6429 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1611, allocations: 11.94 kB / 0.6429 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1611, allocations: 4 kB / 0.6429 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1614, allocations: 55.89 kB / 0.643 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1614, allocations: 4 kB / 0.643 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.1616, allocations: 15.92 kB / 0.643 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1616, allocations: 15.98 kB / 0.643 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001789/0.1618, allocations: 176.1 kB / 0.6432 GB, free: 8.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001529/0.1619, allocations: 150.1 kB / 0.6433 GB, free: 8.344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002646/0.1622, allocations: 229.5 kB / 0.6435 GB, free: 8.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.1622, allocations: 4 kB / 0.6435 GB, free: 8.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003578/0.1626, allocations: 253.2 kB / 0.6438 GB, free: 7.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/0.1626, allocations: 4 kB / 0.6438 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.1626, allocations: 4 kB / 0.6438 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/0.1626, allocations: 15.81 kB / 0.6438 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.1628, allocations: 47.97 kB / 0.6438 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1628, allocations: 7.938 kB / 0.6438 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.163, allocations: 20.33 kB / 0.6439 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.163, allocations: 12 kB / 0.6439 GB, free: 7.719 MB / 494.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.0001202/0.1631, allocations: 192.1 kB / 0.6441 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.1632, allocations: 15.81 kB / 0.6441 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.1635, allocations: 203.8 kB / 0.6443 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1635, allocations: 0 / 0.6443 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1636, allocations: 4 kB / 0.6443 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1636, allocations: 4 kB / 0.6443 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.1648, allocations: 0.9611 MB / 0.6452 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1648, allocations: 4 kB / 0.6452 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1649, allocations: 35.97 kB / 0.6452 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.165, allocations: 7.938 kB / 0.6453 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.165, allocations: 4.438 kB / 0.6453 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.165, allocations: 15.92 kB / 0.6453 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.165, allocations: 11.88 kB / 0.6453 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.1654, allocations: 432.9 kB / 0.6457 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1655, allocations: 108.8 kB / 0.6458 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.1655, allocations: 12 kB / 0.6458 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.1657, allocations: 11.98 kB / 0.6458 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.1658, allocations: 23.86 kB / 0.6458 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1658, allocations: 8 kB / 0.6459 GB, free: 5.477 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1659, allocations: 135.7 kB / 0.646 GB, free: 5.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1659, allocations: 0 / 0.646 GB, free: 5.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.1664, allocations: 72 kB / 0.6461 GB, free: 5.273 MB / 494.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.0006818/0.1671, allocations: 0.9782 MB / 0.647 GB, free: 4.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.1676, allocations: 303.5 kB / 0.6473 GB, free: 3.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1676, allocations: 1.312 kB / 0.6473 GB, free: 3.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1677, allocations: 84.39 kB / 0.6474 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.1682, allocations: 29.88 kB / 0.6474 GB, free: 3.828 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.1708, allocations: 2.434 MB / 0.6498 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1712, allocations: 0.7518 MB / 0.6505 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.1714, allocations: 81.5 kB / 0.6506 GB, free: 328 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.1715, allocations: 43.42 kB / 0.6506 GB, free: 284 kB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1715, allocations: 4 kB / 0.6506 GB, free: 280 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.1918, allocations: 3.656 MB / 0.6542 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.178, allocations: 8.984 kB / 0.6542 GB, free: 12.76 MB / 0.4981 GB (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/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)