Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",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.001214/0.001214, allocations: 96.27 kB / 15.69 MB, free: 480 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.001656/0.001656, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.336/1.336, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.695/0.695, allocations: 113.7 MB / 405.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.000281, allocations: 12 kB / 493 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 77.11 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002736/0.1191, allocations: 2.58 MB / 0.5592 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1212, allocations: 1.747 MB / 0.561 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.1213, allocations: 4 kB / 0.561 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1214, allocations: 35.77 kB / 0.561 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.1217, allocations: 123.6 kB / 0.5611 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.122, allocations: 187.4 kB / 0.5613 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1223, allocations: 175.6 kB / 0.5615 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000473/0.1227, allocations: 305.9 kB / 0.5617 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1229, allocations: 87.69 kB / 0.5618 GB, free: 6.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.1231, allocations: 107.6 kB / 0.5619 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1231, allocations: 12 kB / 0.5619 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.1234, allocations: 247.6 kB / 0.5622 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.1235, allocations: 67.81 kB / 0.5622 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.1236, allocations: 65.58 kB / 0.5623 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.1239, allocations: 351.2 kB / 0.5626 GB, free: 5.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1239, allocations: 0 / 0.5626 GB, free: 5.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1239, allocations: 0 / 0.5626 GB, free: 5.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1239, allocations: 3.938 kB / 0.5626 GB, free: 5.559 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006345/0.1246, allocations: 0.5223 MB / 0.5632 GB, free: 4.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.1246, allocations: 8.031 kB / 0.5632 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.1247, allocations: 54.55 kB / 0.5632 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.1254, allocations: 123.6 kB / 0.5633 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.1257, allocations: 269.6 kB / 0.5636 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1257, allocations: 12.44 kB / 0.5636 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1258, allocations: 16 kB / 0.5636 GB, free: 4.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.1262, allocations: 364.8 kB / 0.564 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1262, allocations: 0 / 0.564 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.1263, allocations: 8 kB / 0.564 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.1263, allocations: 24.42 kB / 0.564 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.1267, allocations: 289.5 kB / 0.5643 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1285, allocations: 1.749 MB / 0.566 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.129, allocations: 322.2 kB / 0.5663 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-05/0.1291, allocations: 81.39 kB / 0.5664 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1291, allocations: 42.48 kB / 0.5664 GB, free: 1.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.1291, allocations: 0 / 0.5664 GB, free: 1.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.002122/0.1312, allocations: 0.9687 MB / 0.5674 GB, free: 364 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1313, allocations: 89.22 kB / 0.5674 GB, free: 256 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1315, allocations: 208.5 kB / 0.5676 GB, free: 36 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.1315, allocations: 33.72 kB / 0.5677 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.1316, allocations: 176 kB / 0.5678 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.1317, allocations: 82.84 kB / 0.5679 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.1317, allocations: 4 kB / 0.5679 GB, free: 15.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1318, allocations: 330.8 kB / 0.5682 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.132, allocations: 123.9 kB / 0.5684 GB, free: 15.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1322, allocations: 211.1 kB / 0.5686 GB, free: 15.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.1324, allocations: 174.7 kB / 0.5687 GB, free: 14.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1324, allocations: 0 / 0.5687 GB, free: 14.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000742/0.1331, allocations: 0.5006 MB / 0.5692 GB, free: 14.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1332, allocations: 6.031 kB / 0.5692 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1332, allocations: 4 kB / 0.5692 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.1336, allocations: 155.4 kB / 0.5694 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.1339, allocations: 59.91 kB / 0.5694 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.1364, allocations: 3.985 MB / 0.5733 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.1365, allocations: 19.97 kB / 0.5733 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.1366, allocations: 8 kB / 0.5733 GB, free: 9.793 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.1367, allocations: 170 kB / 0.5735 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.1368, allocations: 23.7 kB / 0.5735 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007427/0.1375, allocations: 486.1 kB / 0.574 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1376, allocations: 0 / 0.574 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1376, allocations: 4 kB / 0.574 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1376, allocations: 7.938 kB / 0.574 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.1389, allocations: 0.996 MB / 0.575 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1389, allocations: 0 / 0.575 GB, free: 8.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1391, allocations: 36.17 kB / 0.575 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.1394, allocations: 143.4 kB / 0.5751 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.1395, allocations: 15.92 kB / 0.5752 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/0.1419, allocations: 3.981 MB / 0.579 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1419, allocations: 7.969 kB / 0.5791 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.1426, allocations: 0.7231 MB / 0.5798 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1428, allocations: 128.8 kB / 0.5799 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.1428, allocations: 11.95 kB / 0.5799 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.143, allocations: 19.98 kB / 0.5799 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1431, allocations: 23.91 kB / 0.5799 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1431, allocations: 12 kB / 0.5799 GB, free: 2.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1432, allocations: 153.5 kB / 0.5801 GB, free: 2.305 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1432, allocations: 0 / 0.5801 GB, free: 2.305 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.1437, allocations: 91.98 kB / 0.5802 GB, free: 2.215 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/0.1452, allocations: 1.926 MB / 0.5821 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2047/0.3499, allocations: 0.5616 MB / 0.5826 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.3499, allocations: 2 kB / 0.5826 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.3504, allocations: 393.2 kB / 0.583 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.3508, allocations: 36.73 kB / 0.583 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.3533, allocations: 3.309 MB / 0.5863 GB, free: 30.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3536, allocations: 0.7865 MB / 0.587 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.3538, allocations: 61.84 kB / 0.5871 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.3539, allocations: 72.95 kB / 0.5872 GB, free: 29.53 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3539, allocations: 0 / 0.5872 GB, free: 29.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.635/0.9889, allocations: 6.176 MB / 0.5932 GB, free: 29.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.9891, allocations: 205.2 kB / 0.5934 GB, free: 28.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/3.019, allocations: 0 / 0.5934 GB, free: 28.91 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) Environment - environmentSimulation: