Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",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.0007304/0.0007303, 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.000817/0.000817, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.199/1.199, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6093/0.6093, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002862, allocations: 9.375 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002083/0.1306, allocations: 1.929 MB / 0.5588 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008856/0.1315, allocations: 0.7291 MB / 0.5595 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.1316, allocations: 0 / 0.5595 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.362e-05/0.1317, allocations: 31.73 kB / 0.5595 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.1319, allocations: 43.73 kB / 0.5596 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.132, allocations: 35.97 kB / 0.5596 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1322, allocations: 159.4 kB / 0.5598 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1324, allocations: 198 kB / 0.5599 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.1325, allocations: 47.84 kB / 0.56 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1326, allocations: 63.69 kB / 0.56 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1326, allocations: 4 kB / 0.5601 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.94e-05/0.1327, allocations: 23.98 kB / 0.5601 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.1328, allocations: 31.91 kB / 0.5601 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.1328, allocations: 49.58 kB / 0.5602 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1329, allocations: 131.6 kB / 0.5603 GB, free: 8.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.133, allocations: 0 / 0.5603 GB, free: 8.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.133, allocations: 4 kB / 0.5603 GB, free: 8.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.133, allocations: 0 / 0.5603 GB, free: 8.168 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005018/0.1335, allocations: 470.4 kB / 0.5607 GB, free: 7.648 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.1335, allocations: 8.031 kB / 0.5607 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.1336, allocations: 46.55 kB / 0.5608 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.1337, allocations: 23.81 kB / 0.5608 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1339, allocations: 214.7 kB / 0.561 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.134, allocations: 45.81 kB / 0.5611 GB, free: 7.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.134, allocations: 15.98 kB / 0.5611 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1342, allocations: 146 kB / 0.5612 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1343, allocations: 0 / 0.5612 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1343, allocations: 4 kB / 0.5612 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1343, allocations: 4.188 kB / 0.5612 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.1345, allocations: 96.44 kB / 0.5613 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.1352, allocations: 0.645 MB / 0.5619 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1354, allocations: 58.5 kB / 0.562 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/0.1355, allocations: 32.91 kB / 0.562 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.1355, allocations: 7.922 kB / 0.562 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.1357, allocations: 146.8 kB / 0.5622 GB, free: 6.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1357, allocations: 0 / 0.5622 GB, free: 6.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003092/0.136, allocations: 159.3 kB / 0.5623 GB, free: 5.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.1361, allocations: 132.5 kB / 0.5624 GB, free: 5.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1362, allocations: 182.2 kB / 0.5626 GB, free: 5.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1362, allocations: 33.7 kB / 0.5627 GB, free: 5.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.1363, allocations: 139.8 kB / 0.5628 GB, free: 5.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1363, allocations: 27.64 kB / 0.5628 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.1363, allocations: 0 / 0.5628 GB, free: 5.277 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.1364, allocations: 326.8 kB / 0.5631 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.1365, allocations: 43.97 kB / 0.5632 GB, free: 4.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1367, allocations: 116.8 kB / 0.5633 GB, free: 4.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1368, allocations: 107.3 kB / 0.5634 GB, free: 4.645 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1368, allocations: 0 / 0.5634 GB, free: 4.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000312/0.1371, allocations: 240.8 kB / 0.5636 GB, free: 4.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.1372, allocations: 67.39 kB / 0.5637 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1372, allocations: 4 kB / 0.5637 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1372, allocations: 4 kB / 0.5637 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1373, allocations: 27.98 kB / 0.5637 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1373, allocations: 11.88 kB / 0.5637 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1374, allocations: 28.08 kB / 0.5637 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1375, allocations: 12 kB / 0.5638 GB, free: 4.227 MB / 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: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001082/0.1376, allocations: 168.1 kB / 0.5639 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.1376, allocations: 15.81 kB / 0.5639 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.1376, allocations: 9.406 kB / 0.5639 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1376, allocations: 7.938 kB / 0.564 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1377, allocations: 0 / 0.564 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1377, allocations: 3.984 kB / 0.564 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1378, allocations: 209.6 kB / 0.5642 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1378, allocations: 4 kB / 0.5642 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.1379, allocations: 19.92 kB / 0.5642 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1379, allocations: 4 kB / 0.5642 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1379, allocations: 4 kB / 0.5642 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1379, allocations: 0 / 0.5642 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1379, allocations: 0 / 0.5642 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.1383, allocations: 222.6 kB / 0.5644 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.1383, allocations: 89 kB / 0.5645 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1384, allocations: 4.078 kB / 0.5645 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.1384, allocations: 12 kB / 0.5645 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.1385, allocations: 15.97 kB / 0.5645 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.1385, allocations: 0 / 0.5645 GB, free: 3.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.52e-05/0.1386, allocations: 140.2 kB / 0.5646 GB, free: 3.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1386, allocations: 4.062 kB / 0.5647 GB, free: 3.203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1389, allocations: 35.91 kB / 0.5647 GB, free: 3.168 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0005334/0.1394, allocations: 0.7475 MB / 0.5654 GB, free: 2.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.1397, allocations: 226.7 kB / 0.5656 GB, free: 2.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1397, allocations: 0 / 0.5656 GB, free: 2.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1398, allocations: 103.4 kB / 0.5657 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.14, allocations: 20.61 kB / 0.5658 GB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1412, allocations: 0.9285 MB / 0.5667 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1415, allocations: 0.7199 MB / 0.5674 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.1416, allocations: 16.64 kB / 0.5674 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.1416, allocations: 35.42 kB / 0.5674 GB, free: 204 kB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1416, allocations: 4 kB / 0.5674 GB, free: 200 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.1539, allocations: 2.718 MB / 0.5701 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.1541, allocations: 184 kB / 0.5702 GB, free: 13.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/1.714, allocations: 0 / 0.5702 GB, free: 13.41 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) Environment - environmentSimulation: