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.0008988/0.0008988, allocations: 95.56 kB / 15.68 MB, free: 488 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.0008467/0.0008467, allocations: 172.8 kB / 16.56 MB, free: 6.391 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.216/1.216, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6025/0.6025, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 13.62 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004524/0.137, allocations: 4.678 MB / 0.5613 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.14, allocations: 2.492 MB / 0.5637 GB, free: 4.496 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.1403, allocations: 23.81 kB / 0.5638 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.1405, allocations: 91.38 kB / 0.5638 GB, free: 4.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006331/0.1411, allocations: 331 kB / 0.5642 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.1418, allocations: 299.3 kB / 0.5644 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.1423, allocations: 0.5785 MB / 0.565 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.1433, allocations: 0.744 MB / 0.5657 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.1436, allocations: 286.9 kB / 0.566 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.144, allocations: 290.9 kB / 0.5663 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.1441, allocations: 27.94 kB / 0.5663 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.1443, allocations: 155.8 kB / 0.5665 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1445, allocations: 203.4 kB / 0.5667 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.852e-05/0.1446, allocations: 153.3 kB / 0.5668 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.1451, allocations: 0.6895 MB / 0.5675 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1451, allocations: 0 / 0.5675 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1451, allocations: 0 / 0.5675 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1452, allocations: 0 / 0.5675 GB, free: 0.6133 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001087/0.1462, allocations: 0.8544 MB / 0.5683 GB, free: 15.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.1463, allocations: 12.03 kB / 0.5683 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.224e-05/0.1464, allocations: 98.5 kB / 0.5684 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.1474, allocations: 183 kB / 0.5686 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.1481, allocations: 481.4 kB / 0.569 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.1481, allocations: 40.98 kB / 0.5691 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.1483, allocations: 55.89 kB / 0.5691 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.1492, allocations: 0.8122 MB / 0.5699 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1492, allocations: 7.938 kB / 0.5699 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.1493, allocations: 23.98 kB / 0.57 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.1495, allocations: 68.94 kB / 0.57 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.1502, allocations: 0.5658 MB / 0.5706 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.1542, allocations: 4.6 MB / 0.5751 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.1547, allocations: 299.2 kB / 0.5754 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1547, allocations: 288 / 0.5754 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1547, allocations: 38.84 kB / 0.5754 GB, free: 7.953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.253e-06/0.1548, allocations: 0 / 0.5754 GB, free: 7.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005306/0.1601, allocations: 2.643 MB / 0.578 GB, free: 5.184 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1601, allocations: 59.34 kB / 0.578 GB, free: 5.113 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.1607, allocations: 462 kB / 0.5785 GB, free: 4.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.1607, allocations: 37.7 kB / 0.5785 GB, free: 4.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.161, allocations: 339.6 kB / 0.5788 GB, free: 4.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1611, allocations: 138 kB / 0.579 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.1612, allocations: 12 kB / 0.579 GB, free: 4.121 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1613, allocations: 366.8 kB / 0.5793 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.1617, allocations: 237 kB / 0.5796 GB, free: 3.523 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.1621, allocations: 406.4 kB / 0.5799 GB, free: 3.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.1625, allocations: 293.7 kB / 0.5802 GB, free: 2.766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1625, allocations: 4 kB / 0.5802 GB, free: 2.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001547/0.1641, allocations: 0.9121 MB / 0.5811 GB, free: 1.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.1641, allocations: 11.95 kB / 0.5811 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1641, allocations: 8.031 kB / 0.5811 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000721/0.1649, allocations: 226.3 kB / 0.5814 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.1654, allocations: 115.8 kB / 0.5815 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.224/0.3894, allocations: 4.998 MB / 0.5863 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.3899, allocations: 31.55 kB / 0.5864 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.39, allocations: 27.66 kB / 0.5864 GB, free: 29.08 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.0002889/0.3903, allocations: 228.1 kB / 0.5866 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.3904, allocations: 56.05 kB / 0.5867 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.3919, allocations: 0.7704 MB / 0.5874 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3919, allocations: 7.438 kB / 0.5874 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3919, allocations: 3.422 kB / 0.5874 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3919, allocations: 3 kB / 0.5874 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.3943, allocations: 1.493 MB / 0.5889 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3943, allocations: 2.281 kB / 0.5889 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.3947, allocations: 68.3 kB / 0.589 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006373/0.3953, allocations: 209.1 kB / 0.5892 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.3954, allocations: 11.38 kB / 0.5892 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.3991, allocations: 4.943 MB / 0.594 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3991, allocations: 2.375 kB / 0.594 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.4007, allocations: 1.207 MB / 0.5952 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.4009, allocations: 176.9 kB / 0.5953 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.401, allocations: 9.781 kB / 0.5954 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.4013, allocations: 27.27 kB / 0.5954 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/0.4014, allocations: 43.64 kB / 0.5954 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.4014, allocations: 9.219 kB / 0.5954 GB, free: 23.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.4018, allocations: 308.5 kB / 0.5957 GB, free: 23.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4018, allocations: 0.6875 kB / 0.5957 GB, free: 23.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006641/0.4024, allocations: 173.9 kB / 0.5959 GB, free: 23.06 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.001816/0.4043, allocations: 2.245 MB / 0.5981 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.4057, allocations: 1.006 MB / 0.5991 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.4057, allocations: 4.75 kB / 0.5991 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008577/0.4066, allocations: 0.6774 MB / 0.5997 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.4073, allocations: 167.6 kB / 0.5999 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/0.4133, allocations: 7.32 MB / 0.607 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.4139, allocations: 0.9643 MB / 0.608 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000408/0.4143, allocations: 120.7 kB / 0.6081 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.4146, allocations: 206.4 kB / 0.6083 GB, free: 13.81 MB / 446.1 MB Notification: Performance of SimCode: time 5.1e-07/0.4146, allocations: 0.5625 kB / 0.6083 GB, free: 13.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3021/0.7166, allocations: 13.26 MB / 0.6212 GB, free: 9.418 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.7168, allocations: 219.3 kB / 0.6215 GB, free: 9.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.649, allocations: 0 / 0.6215 GB, free: 9.18 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: