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.0007164/0.0007166, allocations: 93.41 kB / 15.7 MB, free: 472 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.0007528/0.0007529, allocations: 173.4 kB / 16.58 MB, free: 6.055 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.269/1.269, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6675/0.6675, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002902, allocations: 8 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003414/0.1379, allocations: 2.642 MB / 0.5595 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1404, allocations: 1.775 MB / 0.5612 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1406, allocations: 4 kB / 0.5612 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.1408, allocations: 31.72 kB / 0.5612 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004781/0.1412, allocations: 147.3 kB / 0.5614 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.1418, allocations: 174.9 kB / 0.5616 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.1423, allocations: 362.9 kB / 0.5619 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006263/0.1429, allocations: 310 kB / 0.5622 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.1432, allocations: 107.6 kB / 0.5623 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.1436, allocations: 139.5 kB / 0.5624 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.1436, allocations: 12 kB / 0.5624 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.1441, allocations: 259.6 kB / 0.5627 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1443, allocations: 75.78 kB / 0.5628 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.1443, allocations: 65.58 kB / 0.5628 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.1449, allocations: 355.1 kB / 0.5632 GB, free: 5.191 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1449, allocations: 0 / 0.5632 GB, free: 5.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1449, allocations: 4 kB / 0.5632 GB, free: 5.188 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1449, allocations: 0 / 0.5632 GB, free: 5.188 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.0009039/0.1458, allocations: 0.5184 MB / 0.5637 GB, free: 4.621 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1459, allocations: 8.031 kB / 0.5637 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.799e-05/0.1459, allocations: 58.53 kB / 0.5637 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007459/0.1467, allocations: 115.6 kB / 0.5638 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.147, allocations: 258.5 kB / 0.5641 GB, free: 4.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1471, allocations: 12.42 kB / 0.5641 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.1471, allocations: 24 kB / 0.5641 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.1477, allocations: 356.9 kB / 0.5645 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1477, allocations: 0 / 0.5645 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.1477, allocations: 8 kB / 0.5645 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/0.1478, allocations: 24.42 kB / 0.5645 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.1482, allocations: 297.5 kB / 0.5648 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.1504, allocations: 1.737 MB / 0.5665 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.1509, allocations: 322.1 kB / 0.5668 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.151, allocations: 105.9 kB / 0.5669 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.1512, allocations: 96.97 kB / 0.567 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1512, allocations: 38.56 kB / 0.567 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1512, allocations: 0 / 0.567 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.00224/0.1534, allocations: 0.9654 MB / 0.568 GB, free: 15.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1535, allocations: 93.19 kB / 0.568 GB, free: 15.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1537, allocations: 204.5 kB / 0.5682 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1538, allocations: 33.7 kB / 0.5683 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1539, allocations: 168.1 kB / 0.5684 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.1539, allocations: 86.86 kB / 0.5685 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.154, allocations: 8 kB / 0.5685 GB, free: 15.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1541, allocations: 326.8 kB / 0.5688 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1543, allocations: 131.9 kB / 0.569 GB, free: 14.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.1545, allocations: 209.4 kB / 0.5692 GB, free: 14.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.1548, allocations: 172.2 kB / 0.5693 GB, free: 14.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1548, allocations: 4 kB / 0.5693 GB, free: 14.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007987/0.1556, allocations: 0.4964 MB / 0.5698 GB, free: 13.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1556, allocations: 11.94 kB / 0.5698 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1556, allocations: 320 / 0.5698 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.1561, allocations: 159.2 kB / 0.57 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.1563, allocations: 59.91 kB / 0.57 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.1591, allocations: 3.954 MB / 0.5739 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.1593, allocations: 19.97 kB / 0.5739 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.1594, allocations: 16 kB / 0.5739 GB, free: 9.34 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.0001724/0.1595, allocations: 161.7 kB / 0.5741 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.1596, allocations: 23.77 kB / 0.5741 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007827/0.1604, allocations: 478.5 kB / 0.5746 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1604, allocations: 4 kB / 0.5746 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1604, allocations: 0 / 0.5746 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1604, allocations: 7.953 kB / 0.5746 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.1619, allocations: 1.002 MB / 0.5756 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.1619, allocations: 4 kB / 0.5756 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.162, allocations: 35.92 kB / 0.5756 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.1624, allocations: 143.6 kB / 0.5757 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.1625, allocations: 8 kB / 0.5757 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.1651, allocations: 3.95 MB / 0.5796 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.1651, allocations: 7.984 kB / 0.5796 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007519/0.1658, allocations: 0.6214 MB / 0.5802 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.166, allocations: 128.8 kB / 0.5803 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.166, allocations: 8 kB / 0.5803 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.1662, allocations: 19.97 kB / 0.5804 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.1663, allocations: 23.97 kB / 0.5804 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1663, allocations: 19.94 kB / 0.5804 GB, free: 2.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1665, allocations: 157.5 kB / 0.5806 GB, free: 2.047 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1665, allocations: 0 / 0.5806 GB, free: 2.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.167, allocations: 88 kB / 0.5806 GB, free: 1.961 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.001083/0.1681, allocations: 1.199 MB / 0.5818 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008602/0.1689, allocations: 0.5627 MB / 0.5824 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1689, allocations: 0 / 0.5824 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2289/0.3978, allocations: 393.6 kB / 0.5827 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.3985, allocations: 42.81 kB / 0.5828 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.4011, allocations: 1.811 MB / 0.5845 GB, free: 31.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.4013, allocations: 0.7805 MB / 0.5853 GB, free: 31.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.4015, allocations: 65.23 kB / 0.5854 GB, free: 31.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.4016, allocations: 68.06 kB / 0.5854 GB, free: 31.16 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4016, allocations: 1.031 kB / 0.5854 GB, free: 31.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.421, allocations: 6.192 MB / 0.5915 GB, free: 30.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.4211, allocations: 219.1 kB / 0.5917 GB, free: 30.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.121, allocations: 0 / 0.5917 GB, free: 30.56 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: