Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.0008825/0.0008825, allocations: 92.95 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.0009829/0.0009829, allocations: 179.6 kB / 16.92 MB, free: 6.645 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.249/1.249, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6444/0.6444, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 9.938 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 77.53 MB / 0.5601 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005044/0.1431, allocations: 4.021 MB / 0.564 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.1479, allocations: 3.172 MB / 0.5671 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/0.1484, allocations: 15.88 kB / 0.5671 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008622/0.1493, allocations: 171.1 kB / 0.5673 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.1509, allocations: 350.4 kB / 0.5676 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008507/0.1517, allocations: 231.5 kB / 0.5678 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.1528, allocations: 0.7945 MB / 0.5686 GB, free: 140 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.1542, allocations: 0.8364 MB / 0.5694 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.1547, allocations: 223.2 kB / 0.5696 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.1552, allocations: 247 kB / 0.5699 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/0.1553, allocations: 20 kB / 0.5699 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.1559, allocations: 315.4 kB / 0.5702 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.156, allocations: 131.6 kB / 0.5703 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.1563, allocations: 220.6 kB / 0.5705 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009042/0.1572, allocations: 0.7671 MB / 0.5713 GB, free: 13.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1572, allocations: 0 / 0.5713 GB, free: 13.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1572, allocations: 0 / 0.5713 GB, free: 13.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.1573, allocations: 0 / 0.5713 GB, free: 13.37 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001249/0.1585, allocations: 0.6857 MB / 0.5719 GB, free: 12.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1586, allocations: 12.03 kB / 0.5719 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.1587, allocations: 74.66 kB / 0.572 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/0.1614, allocations: 0.6712 MB / 0.5727 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006728/0.1621, allocations: 439.8 kB / 0.5731 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.1622, allocations: 25.03 kB / 0.5731 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.1622, allocations: 31.94 kB / 0.5731 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.1638, allocations: 0.7825 MB / 0.5739 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1638, allocations: 0 / 0.5739 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.1639, allocations: 23.92 kB / 0.5739 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.164, allocations: 44.61 kB / 0.574 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.166, allocations: 0.8804 MB / 0.5748 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.1697, allocations: 2.808 MB / 0.5776 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.1714, allocations: 0.5175 MB / 0.5781 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.1721, allocations: 264.6 kB / 0.5783 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.1722, allocations: 89.09 kB / 0.5784 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1722, allocations: 34.56 kB / 0.5784 GB, free: 5.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.644e-06/0.1722, allocations: 0 / 0.5784 GB, free: 5.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01152/0.1838, allocations: 3.105 MB / 0.5815 GB, free: 2.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1838, allocations: 55.41 kB / 0.5815 GB, free: 2.398 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.1844, allocations: 409.6 kB / 0.5819 GB, free: 1.996 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.1844, allocations: 25.7 kB / 0.5819 GB, free: 1.965 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1846, allocations: 235.7 kB / 0.5822 GB, free: 1.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.1847, allocations: 82.84 kB / 0.5823 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.641e-05/0.1847, allocations: 29.7 kB / 0.5823 GB, free: 1.613 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1849, allocations: 346.8 kB / 0.5826 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009001/0.1858, allocations: 355.7 kB / 0.5829 GB, free: 0.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009458/0.1867, allocations: 432.3 kB / 0.5834 GB, free: 472 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2206/0.4073, allocations: 0.7626 MB / 0.5841 GB, free: 30.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4073, allocations: 4.562 kB / 0.5841 GB, free: 30.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00515/0.4125, allocations: 1.522 MB / 0.5856 GB, free: 30.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.4126, allocations: 144.3 kB / 0.5857 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4126, allocations: 3.172 kB / 0.5857 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/0.4165, allocations: 0.8279 MB / 0.5865 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.4172, allocations: 134.1 kB / 0.5867 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006529/0.4237, allocations: 4.53 MB / 0.5911 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.4245, allocations: 112.3 kB / 0.5912 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.4245, allocations: 24.17 kB / 0.5912 GB, free: 27.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.4246, allocations: 2.938 kB / 0.5912 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004219/0.4288, allocations: 1.238 MB / 0.5924 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4288, allocations: 5.656 kB / 0.5924 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/0.4313, allocations: 0.543 MB / 0.593 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.432, allocations: 141 kB / 0.5931 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004242/0.4362, allocations: 2.7 MB / 0.5957 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.4369, allocations: 108.4 kB / 0.5958 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.437, allocations: 17.27 kB / 0.5959 GB, free: 25.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003214/0.4373, allocations: 316.7 kB / 0.5962 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.4374, allocations: 34.8 kB / 0.5962 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/0.4421, allocations: 1.396 MB / 0.5976 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4421, allocations: 2.281 kB / 0.5976 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4421, allocations: 1.125 kB / 0.5976 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4421, allocations: 2.422 kB / 0.5976 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/0.4473, allocations: 2.038 MB / 0.5996 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4473, allocations: 0.5 kB / 0.5996 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.4477, allocations: 87.72 kB / 0.5996 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/0.451, allocations: 0.7571 MB / 0.6004 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.451, allocations: 10.58 kB / 0.6004 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004515/0.4555, allocations: 4.373 MB / 0.6047 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4555, allocations: 1.5 kB / 0.6047 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/0.4596, allocations: 1.407 MB / 0.606 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.4598, allocations: 170.7 kB / 0.6062 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.4598, allocations: 5.969 kB / 0.6062 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.4604, allocations: 93.95 kB / 0.6063 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4605, allocations: 26.83 kB / 0.6063 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.4606, allocations: 6.156 kB / 0.6063 GB, free: 19.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003033/0.4609, allocations: 303.2 kB / 0.6066 GB, free: 19.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4609, allocations: 0 / 0.6066 GB, free: 19.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008431/0.4617, allocations: 202.7 kB / 0.6068 GB, free: 19.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004348/0.4661, allocations: 1.972 MB / 0.6087 GB, free: 18.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004016/0.4701, allocations: 1.738 MB / 0.6104 GB, free: 17.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4701, allocations: 0 / 0.6104 GB, free: 17.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.4712, allocations: 0.6371 MB / 0.6111 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.4719, allocations: 119.5 kB / 0.6112 GB, free: 16.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.4857, allocations: 6.762 MB / 0.6178 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.486, allocations: 0.9111 MB / 0.6187 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004829/0.4865, allocations: 154 kB / 0.6188 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.4867, allocations: 139.1 kB / 0.6189 GB, free: 11.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4867, allocations: 0 / 0.6189 GB, free: 11.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1997/0.6864, allocations: 15.24 MB / 0.6338 GB, free: 14.59 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/0.6868, allocations: 244.8 kB / 0.6341 GB, free: 14.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.761, allocations: 0 / 0.6341 GB, free: 14.33 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)