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.0009695/0.0009698, allocations: 93.27 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.0009976/0.0009976, allocations: 181.9 kB / 16.92 MB, free: 6.672 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.289/1.289, 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.6557/0.6557, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002844, allocations: 8.781 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 77.54 MB / 0.5601 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005461/0.1262, allocations: 5.128 MB / 0.5651 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003724/0.13, allocations: 2.611 MB / 0.5676 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.1303, allocations: 19.88 kB / 0.5676 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1306, allocations: 107.1 kB / 0.5677 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008401/0.1314, allocations: 386.1 kB / 0.5681 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.1323, allocations: 367.3 kB / 0.5685 GB, free: 280 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.1334, allocations: 1.252 MB / 0.5697 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.1346, allocations: 0.8079 MB / 0.5705 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.1351, allocations: 314.6 kB / 0.5708 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.1356, allocations: 386.4 kB / 0.5711 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.1356, allocations: 28 kB / 0.5712 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000632/0.1363, allocations: 431.1 kB / 0.5716 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.1365, allocations: 219.3 kB / 0.5718 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.1368, allocations: 339.9 kB / 0.5721 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008991/0.1377, allocations: 0.9576 MB / 0.573 GB, free: 11.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1377, allocations: 0 / 0.573 GB, free: 11.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1377, allocations: 0 / 0.573 GB, free: 11.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.1377, allocations: 0 / 0.573 GB, free: 11.53 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.001258/0.139, allocations: 0.8569 MB / 0.5739 GB, free: 10.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.139, allocations: 12.03 kB / 0.5739 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.1392, allocations: 102.6 kB / 0.574 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.1405, allocations: 195.9 kB / 0.5742 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.1411, allocations: 498.3 kB / 0.5746 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.1411, allocations: 41.36 kB / 0.5747 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.1413, allocations: 48.56 kB / 0.5747 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.1424, allocations: 0.8278 MB / 0.5755 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1424, allocations: 7.938 kB / 0.5755 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.1425, allocations: 23.98 kB / 0.5756 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.1427, allocations: 64.95 kB / 0.5756 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008789/0.1436, allocations: 0.5697 MB / 0.5762 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.1476, allocations: 4.596 MB / 0.5807 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.1481, allocations: 299.2 kB / 0.581 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.1484, allocations: 229.3 kB / 0.5812 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.1484, allocations: 4.281 kB / 0.5812 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1484, allocations: 34.84 kB / 0.5812 GB, free: 2.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.1484, allocations: 0 / 0.5812 GB, free: 2.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.217/0.3654, allocations: 2.629 MB / 0.5838 GB, free: 30.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.3655, allocations: 58.41 kB / 0.5838 GB, free: 30.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.366, allocations: 463 kB / 0.5843 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.3661, allocations: 34.55 kB / 0.5843 GB, free: 30.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3663, allocations: 339.9 kB / 0.5846 GB, free: 30.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3664, allocations: 144.1 kB / 0.5848 GB, free: 29.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.3665, allocations: 51.09 kB / 0.5848 GB, free: 29.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.3665, allocations: 366.4 kB / 0.5852 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.3669, allocations: 241.5 kB / 0.5854 GB, free: 29.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.3673, allocations: 405.1 kB / 0.5858 GB, free: 29.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007829/0.3681, allocations: 0.6764 MB / 0.5865 GB, free: 29.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3681, allocations: 8.938 kB / 0.5865 GB, free: 29.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001656/0.3698, allocations: 0.9205 MB / 0.5874 GB, free: 29.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3698, allocations: 11.47 kB / 0.5874 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3698, allocations: 5.312 kB / 0.5874 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007837/0.3706, allocations: 223.1 kB / 0.5876 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.3711, allocations: 115.4 kB / 0.5877 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/0.3751, allocations: 4.938 MB / 0.5925 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.3755, allocations: 34.84 kB / 0.5926 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.3756, allocations: 26.25 kB / 0.5926 GB, free: 25 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002652/0.3758, allocations: 226.9 kB / 0.5928 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.3759, allocations: 57.36 kB / 0.5929 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.3774, allocations: 0.7746 MB / 0.5936 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3774, allocations: 4.5 kB / 0.5936 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3774, allocations: 2.781 kB / 0.5936 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3774, allocations: 2.297 kB / 0.5936 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.3796, allocations: 1.5 MB / 0.5951 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3796, allocations: 1.906 kB / 0.5951 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.38, allocations: 62.83 kB / 0.5951 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006516/0.3807, allocations: 212 kB / 0.5953 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.3807, allocations: 12.17 kB / 0.5954 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.3843, allocations: 4.879 MB / 0.6001 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3843, allocations: 7.562 kB / 0.6001 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.386, allocations: 1.129 MB / 0.6012 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.3862, allocations: 172.3 kB / 0.6014 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.3863, allocations: 9.078 kB / 0.6014 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.3866, allocations: 28 kB / 0.6014 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.3867, allocations: 43.83 kB / 0.6015 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.3867, allocations: 10.69 kB / 0.6015 GB, free: 18.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003312/0.387, allocations: 314.8 kB / 0.6018 GB, free: 18.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3871, allocations: 0 / 0.6018 GB, free: 18.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006644/0.3877, allocations: 171 kB / 0.6019 GB, free: 18.4 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001872/0.3896, allocations: 1.696 MB / 0.6036 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.3911, allocations: 1.004 MB / 0.6046 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3911, allocations: 0.7812 kB / 0.6046 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008332/0.392, allocations: 0.6766 MB / 0.6052 GB, free: 16.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009977/0.393, allocations: 177.7 kB / 0.6054 GB, free: 16.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006844/0.3998, allocations: 5.999 MB / 0.6113 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.4002, allocations: 0.9491 MB / 0.6122 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.4006, allocations: 108.3 kB / 0.6123 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.4009, allocations: 212.3 kB / 0.6125 GB, free: 11.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4009, allocations: 0 / 0.6125 GB, free: 11.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.4292, allocations: 13.34 MB / 0.6255 GB, free: 6.344 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/0.4293, allocations: 248.3 kB / 0.6258 GB, free: 6.086 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.277, allocations: 0 / 0.6258 GB, free: 6.086 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/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)