Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.0007601/0.0007601, allocations: 92.86 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.0009875/0.0009876, allocations: 175.3 kB / 16.58 MB, free: 6.051 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.322/1.322, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6197/0.6197, allocations: 113.7 MB / 405.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 12.16 kB / 493.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00541/0.1527, allocations: 4.892 MB / 0.5617 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.1564, allocations: 2.48 MB / 0.5641 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.1567, allocations: 23.88 kB / 0.5641 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.157, allocations: 99.14 kB / 0.5642 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007125/0.1578, allocations: 334.2 kB / 0.5645 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.1585, allocations: 303.3 kB / 0.5648 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000948/0.1594, allocations: 1.049 MB / 0.5659 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.1606, allocations: 0.7439 MB / 0.5666 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.161, allocations: 310.7 kB / 0.5669 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.1614, allocations: 378.5 kB / 0.5672 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.1615, allocations: 24 kB / 0.5673 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.1619, allocations: 191.7 kB / 0.5674 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.1621, allocations: 215.4 kB / 0.5676 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1623, allocations: 145.4 kB / 0.5678 GB, free: 484 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.1629, allocations: 0.7207 MB / 0.5685 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1629, allocations: 4 kB / 0.5685 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1629, allocations: 3.938 kB / 0.5685 GB, free: 15.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1629, allocations: 3.938 kB / 0.5685 GB, free: 15.74 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001286/0.1642, allocations: 0.8645 MB / 0.5693 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1643, allocations: 12.03 kB / 0.5694 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.1644, allocations: 94.52 kB / 0.5694 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.1656, allocations: 195 kB / 0.5696 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.1662, allocations: 485.3 kB / 0.5701 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.1663, allocations: 33 kB / 0.5701 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1664, allocations: 55.98 kB / 0.5702 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.1675, allocations: 0.8239 MB / 0.571 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1676, allocations: 0 / 0.571 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/0.1676, allocations: 24 kB / 0.571 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.1678, allocations: 68.94 kB / 0.5711 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.1686, allocations: 0.5696 MB / 0.5716 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.1727, allocations: 4.593 MB / 0.5761 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.1731, allocations: 291.3 kB / 0.5764 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.1734, allocations: 225.3 kB / 0.5766 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.1735, allocations: 4.281 kB / 0.5766 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.1735, allocations: 42.78 kB / 0.5767 GB, free: 6.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 4.128e-06/0.1735, allocations: 3.984 kB / 0.5767 GB, free: 6.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.00501/0.1785, allocations: 2.65 MB / 0.5792 GB, free: 4.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1786, allocations: 59.34 kB / 0.5793 GB, free: 3.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.1791, allocations: 458 kB / 0.5797 GB, free: 3.531 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1791, allocations: 33.7 kB / 0.5798 GB, free: 3.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.1793, allocations: 343.6 kB / 0.5801 GB, free: 3.148 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.1794, allocations: 141.9 kB / 0.5802 GB, free: 3.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.1795, allocations: 12 kB / 0.5802 GB, free: 2.996 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1796, allocations: 366.7 kB / 0.5806 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.18, allocations: 237 kB / 0.5808 GB, free: 2.398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.1804, allocations: 402.5 kB / 0.5812 GB, free: 1.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.1809, allocations: 297.6 kB / 0.5815 GB, free: 1.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1809, allocations: 4 kB / 0.5815 GB, free: 1.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001525/0.1824, allocations: 0.9082 MB / 0.5824 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1824, allocations: 8 kB / 0.5824 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1825, allocations: 8.062 kB / 0.5824 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007098/0.1832, allocations: 234.4 kB / 0.5826 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.1837, allocations: 115.8 kB / 0.5827 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2556/0.4393, allocations: 4.913 MB / 0.5875 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.4398, allocations: 32.23 kB / 0.5876 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.4398, allocations: 22.58 kB / 0.5876 GB, free: 28.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.4401, allocations: 229.1 kB / 0.5878 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.4402, allocations: 63.89 kB / 0.5879 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.4417, allocations: 0.7746 MB / 0.5886 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4417, allocations: 4.562 kB / 0.5886 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4418, allocations: 2.844 kB / 0.5886 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4418, allocations: 1.594 kB / 0.5886 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.444, allocations: 1.496 MB / 0.5901 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.444, allocations: 2.844 kB / 0.5901 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.4444, allocations: 71.64 kB / 0.5902 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006236/0.445, allocations: 208.9 kB / 0.5904 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.445, allocations: 8.672 kB / 0.5904 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.4486, allocations: 4.863 MB / 0.5951 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4486, allocations: 5.719 kB / 0.5951 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.4503, allocations: 1.133 MB / 0.5962 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.4505, allocations: 167.6 kB / 0.5964 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.4505, allocations: 14.89 kB / 0.5964 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.4508, allocations: 23.53 kB / 0.5964 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.4509, allocations: 41.48 kB / 0.5965 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.4509, allocations: 14.31 kB / 0.5965 GB, free: 22.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003471/0.4513, allocations: 311.6 kB / 0.5968 GB, free: 22.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4513, allocations: 0 / 0.5968 GB, free: 22.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006643/0.452, allocations: 167.1 kB / 0.5969 GB, free: 22.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001743/0.4537, allocations: 1.689 MB / 0.5986 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.4551, allocations: 1.013 MB / 0.5996 GB, free: 21.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4552, allocations: 2.562 kB / 0.5996 GB, free: 21.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008358/0.456, allocations: 0.6762 MB / 0.6002 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.4568, allocations: 167.5 kB / 0.6004 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.4623, allocations: 3.848 MB / 0.6041 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.463, allocations: 0.9486 MB / 0.6051 GB, free: 17.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.4634, allocations: 117.5 kB / 0.6052 GB, free: 17.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.4636, allocations: 213.9 kB / 0.6054 GB, free: 17.51 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4636, allocations: 1.031 kB / 0.6054 GB, free: 17.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.4914, allocations: 13.28 MB / 0.6184 GB, free: 13.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.4916, allocations: 225.7 kB / 0.6186 GB, free: 12.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.378, allocations: 0 / 0.6186 GB, free: 12.81 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: