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.001163/0.001163, allocations: 100.1 kB / 15.88 MB, free: 12 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.001187/0.001187, allocations: 207 kB / 16.79 MB, free: 6.84 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.216/1.216, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6279/0.6279, allocations: 115.3 MB / 406 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 64.19 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1169, allocations: 76.19 MB / 0.5559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003651/0.1206, allocations: 2.661 MB / 0.5585 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1227, allocations: 1.48 MB / 0.5599 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1228, allocations: 7.938 kB / 0.5599 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.1235, allocations: 211.3 kB / 0.5601 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.1239, allocations: 175.4 kB / 0.5603 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1243, allocations: 131.7 kB / 0.5604 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.1246, allocations: 351 kB / 0.5607 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.1249, allocations: 182.2 kB / 0.5609 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1251, allocations: 83.69 kB / 0.561 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1253, allocations: 115.6 kB / 0.5611 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1253, allocations: 12 kB / 0.5611 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.1257, allocations: 271.4 kB / 0.5614 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.1258, allocations: 71.8 kB / 0.5614 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.1259, allocations: 79.59 kB / 0.5615 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.1263, allocations: 342.9 kB / 0.5618 GB, free: 4.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.1263, allocations: 3.938 kB / 0.5618 GB, free: 4.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1263, allocations: 0 / 0.5618 GB, free: 4.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1263, allocations: 4 kB / 0.5618 GB, free: 4.586 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.0006422/0.1269, allocations: 487.2 kB / 0.5623 GB, free: 4.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.127, allocations: 8.031 kB / 0.5623 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.127, allocations: 58.72 kB / 0.5624 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.1276, allocations: 76.66 kB / 0.5624 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1278, allocations: 224 kB / 0.5627 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1279, allocations: 12.7 kB / 0.5627 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.1279, allocations: 16.36 kB / 0.5627 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.1283, allocations: 328.2 kB / 0.563 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1284, allocations: 3.938 kB / 0.563 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.1284, allocations: 7.984 kB / 0.563 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.1284, allocations: 24.2 kB / 0.563 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.1288, allocations: 256.6 kB / 0.5633 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.1303, allocations: 1.634 MB / 0.5649 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/0.1309, allocations: 411.1 kB / 0.5653 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.131, allocations: 85.67 kB / 0.5654 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.1312, allocations: 93.08 kB / 0.5654 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1312, allocations: 34.56 kB / 0.5655 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1312, allocations: 0 / 0.5655 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005879/0.1318, allocations: 319.2 kB / 0.5658 GB, free: 192 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1319, allocations: 85.05 kB / 0.5659 GB, free: 88 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.132, allocations: 169.1 kB / 0.566 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.132, allocations: 29.7 kB / 0.566 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.1321, allocations: 151.8 kB / 0.5662 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.1322, allocations: 47.55 kB / 0.5662 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.1323, allocations: 53.61 kB / 0.5663 GB, free: 15.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.1324, allocations: 318.8 kB / 0.5666 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1325, allocations: 84.81 kB / 0.5667 GB, free: 15.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.1326, allocations: 150.9 kB / 0.5668 GB, free: 15.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1329, allocations: 253.1 kB / 0.5671 GB, free: 14.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1329, allocations: 0 / 0.5671 GB, free: 14.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003809/0.1333, allocations: 273.2 kB / 0.5673 GB, free: 14.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1333, allocations: 5.719 kB / 0.5673 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1334, allocations: 7.938 kB / 0.5673 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1334, allocations: 4 kB / 0.5673 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.1336, allocations: 55.89 kB / 0.5674 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1336, allocations: 7.938 kB / 0.5674 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1338, allocations: 23.83 kB / 0.5674 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1338, allocations: 8 kB / 0.5674 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001706/0.134, allocations: 180.1 kB / 0.5676 GB, free: 14.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000139/0.1341, allocations: 143.5 kB / 0.5677 GB, free: 14.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002482/0.1344, allocations: 234.1 kB / 0.568 GB, free: 13.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.1344, allocations: 0 / 0.568 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003438/0.1347, allocations: 245.2 kB / 0.5682 GB, free: 13.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.1347, allocations: 4 kB / 0.5682 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.1348, allocations: 4 kB / 0.5682 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.1348, allocations: 8.281 kB / 0.5682 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1349, allocations: 59.91 kB / 0.5683 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.135, allocations: 4 kB / 0.5683 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1351, allocations: 11.89 kB / 0.5683 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1351, allocations: 12 kB / 0.5683 GB, free: 13.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.704e-05/0.1352, allocations: 188.2 kB / 0.5685 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.1353, allocations: 11.91 kB / 0.5685 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.1356, allocations: 211.7 kB / 0.5687 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1356, allocations: 3.984 kB / 0.5687 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1356, allocations: 192 / 0.5687 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1356, allocations: 4 kB / 0.5687 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1367, allocations: 0.9689 MB / 0.5696 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1367, allocations: 8 kB / 0.5696 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.1369, allocations: 36.34 kB / 0.5697 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1369, allocations: 8 kB / 0.5697 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1369, allocations: 4 kB / 0.5697 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1369, allocations: 8 kB / 0.5697 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.1369, allocations: 7.922 kB / 0.5697 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.1373, allocations: 436.9 kB / 0.5701 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/0.1373, allocations: 104.9 kB / 0.5702 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.1374, allocations: 11.94 kB / 0.5702 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.1376, allocations: 15.92 kB / 0.5703 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.1376, allocations: 19.92 kB / 0.5703 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1376, allocations: 8 kB / 0.5703 GB, free: 11.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1377, allocations: 136.2 kB / 0.5704 GB, free: 11.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.294e-06/0.1377, allocations: 0 / 0.5704 GB, free: 11.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.1382, allocations: 75.94 kB / 0.5705 GB, free: 10.96 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 (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.0006146/0.1388, allocations: 0.9751 MB / 0.5714 GB, free: 9.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.1393, allocations: 292.4 kB / 0.5717 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1393, allocations: 4.438 kB / 0.5717 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1394, allocations: 91.75 kB / 0.5718 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.1398, allocations: 27.98 kB / 0.5718 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.1421, allocations: 2.509 MB / 0.5743 GB, free: 6.809 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1424, allocations: 0.7441 MB / 0.575 GB, free: 6.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.1427, allocations: 81.56 kB / 0.5751 GB, free: 5.961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.1427, allocations: 51.36 kB / 0.5751 GB, free: 5.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1428, allocations: 4 kB / 0.5751 GB, free: 5.906 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.1545, allocations: 3.389 MB / 0.5784 GB, free: 2.68 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.1547, allocations: 228.1 kB / 0.5787 GB, free: 2.426 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.747, allocations: 0 / 0.5787 GB, free: 2.426 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/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)