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.0007255/0.0007291, allocations: 93.03 kB / 16.02 MB, free: 84 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.0008145/0.0008147, allocations: 174.9 kB / 16.92 MB, free: 6.68 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.251/1.251, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6486/0.6486, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.000279, allocations: 8 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 77.54 MB / 0.5601 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003/0.1292, allocations: 2.307 MB / 0.5623 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.1316, allocations: 1.457 MB / 0.5637 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1317, allocations: 3.938 kB / 0.5637 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.1319, allocations: 27.78 kB / 0.5638 GB, free: 5.102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.1324, allocations: 167.4 kB / 0.5639 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.1328, allocations: 135.8 kB / 0.564 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.1331, allocations: 351 kB / 0.5644 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.1338, allocations: 347 kB / 0.5647 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.134, allocations: 71.7 kB / 0.5648 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1343, allocations: 111.6 kB / 0.5649 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1343, allocations: 8 kB / 0.5649 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.1347, allocations: 271.4 kB / 0.5652 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.1348, allocations: 63.86 kB / 0.5652 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.1349, allocations: 97.25 kB / 0.5653 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.1353, allocations: 342.9 kB / 0.5656 GB, free: 3.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1353, allocations: 0 / 0.5656 GB, free: 3.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1354, allocations: 0 / 0.5656 GB, free: 3.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.1354, allocations: 0 / 0.5656 GB, free: 3.148 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.0006092/0.136, allocations: 455.2 kB / 0.5661 GB, free: 2.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.136, allocations: 11.97 kB / 0.5661 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/0.1361, allocations: 50.73 kB / 0.5661 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005697/0.1367, allocations: 80.56 kB / 0.5662 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1369, allocations: 239.6 kB / 0.5664 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1369, allocations: 12.7 kB / 0.5664 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.137, allocations: 16.38 kB / 0.5665 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.1374, allocations: 316.2 kB / 0.5668 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1375, allocations: 4 kB / 0.5668 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1375, allocations: 8 kB / 0.5668 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.1375, allocations: 20.27 kB / 0.5668 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.1379, allocations: 256.6 kB / 0.567 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.1394, allocations: 1.634 MB / 0.5686 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.14, allocations: 415.2 kB / 0.569 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1401, allocations: 85.67 kB / 0.5691 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.1402, allocations: 89.09 kB / 0.5692 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.1403, allocations: 34.56 kB / 0.5692 GB, free: 15.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1403, allocations: 4 kB / 0.5692 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005923/0.1409, allocations: 312.5 kB / 0.5695 GB, free: 14.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.1409, allocations: 81.11 kB / 0.5696 GB, free: 14.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1411, allocations: 170.1 kB / 0.5698 GB, free: 14.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1411, allocations: 29.7 kB / 0.5698 GB, free: 14.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.1412, allocations: 155.8 kB / 0.5699 GB, free: 14.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1412, allocations: 47.36 kB / 0.57 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1413, allocations: 29.83 kB / 0.57 GB, free: 14.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.1414, allocations: 322.8 kB / 0.5703 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1415, allocations: 79.89 kB / 0.5704 GB, free: 13.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1417, allocations: 150.9 kB / 0.5705 GB, free: 13.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.142, allocations: 249.2 kB / 0.5708 GB, free: 13.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.142, allocations: 0 / 0.5708 GB, free: 13.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004225/0.1424, allocations: 273.2 kB / 0.571 GB, free: 13.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.1425, allocations: 157.8 kB / 0.5712 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1425, allocations: 4 kB / 0.5712 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1425, allocations: 4 kB / 0.5712 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.1428, allocations: 59.89 kB / 0.5713 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1428, allocations: 7.938 kB / 0.5713 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1429, allocations: 19.92 kB / 0.5713 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.143, allocations: 12 kB / 0.5713 GB, free: 12.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.143, allocations: 6.031 kB / 0.5713 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002925/0.1433, allocations: 207.6 kB / 0.5715 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.1433, allocations: 4 kB / 0.5715 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.1433, allocations: 8.312 kB / 0.5715 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.1435, allocations: 51.91 kB / 0.5716 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.1435, allocations: 4 kB / 0.5716 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1436, allocations: 23.77 kB / 0.5716 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1436, allocations: 12 kB / 0.5716 GB, free: 12.5 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 0.0001344/0.1438, allocations: 221 kB / 0.5718 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.1438, allocations: 19.8 kB / 0.5718 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.1442, allocations: 203.8 kB / 0.572 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1442, allocations: 4 kB / 0.572 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1442, allocations: 3.938 kB / 0.572 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1442, allocations: 0 / 0.572 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1453, allocations: 0.9651 MB / 0.573 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1453, allocations: 4.438 kB / 0.573 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.1454, allocations: 31.98 kB / 0.573 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1455, allocations: 4 kB / 0.573 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1455, allocations: 8 kB / 0.573 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.1455, allocations: 11.92 kB / 0.573 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1455, allocations: 4 kB / 0.573 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.1459, allocations: 439.8 kB / 0.5735 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.146, allocations: 117 kB / 0.5736 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.146, allocations: 4 kB / 0.5736 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1462, allocations: 15.98 kB / 0.5736 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.1462, allocations: 15.86 kB / 0.5736 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1462, allocations: 16 kB / 0.5736 GB, free: 10.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1464, allocations: 136.2 kB / 0.5737 GB, free: 10.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1464, allocations: 0 / 0.5737 GB, free: 10.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000489/0.1469, allocations: 68 kB / 0.5738 GB, free: 10.03 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.0006322/0.1475, allocations: 0.9753 MB / 0.5748 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.148, allocations: 304.7 kB / 0.5751 GB, free: 8.695 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.148, allocations: 4.125 kB / 0.5751 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1481, allocations: 75.83 kB / 0.5751 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.1486, allocations: 37.61 kB / 0.5752 GB, free: 8.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.1512, allocations: 2.511 MB / 0.5776 GB, free: 5.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1515, allocations: 0.7479 MB / 0.5784 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.1517, allocations: 81.47 kB / 0.5784 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.1518, allocations: 51.41 kB / 0.5785 GB, free: 4.961 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1518, allocations: 0 / 0.5785 GB, free: 4.961 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.1646, allocations: 3.288 MB / 0.5817 GB, free: 1.863 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.1648, allocations: 236.9 kB / 0.5819 GB, free: 1.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.816, allocations: 4 kB / 0.5819 GB, free: 1.602 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)