Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_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.001281/0.001281, allocations: 106.4 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.294/1.294, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7274/0.7274, allocations: 115.3 MB / 406.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 71.89 kB / 493.2 MB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3487, allocations: 76.17 MB / 0.556 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02442/0.3731, allocations: 26.41 MB / 0.5818 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.3874, allocations: 8.01 MB / 0.5896 GB, free: 13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.3909, allocations: 103.5 kB / 0.5897 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006623/0.3976, allocations: 2.578 MB / 0.5923 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.4027, allocations: 1.462 MB / 0.5937 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.407, allocations: 1.537 MB / 0.5952 GB, free: 9.363 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007482/0.4145, allocations: 6.153 MB / 0.6012 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01124/0.4258, allocations: 8.97 MB / 0.61 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004339/0.4301, allocations: 2.613 MB / 0.6125 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00412/0.4343, allocations: 2.975 MB / 0.6154 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007999/0.4351, allocations: 0.5078 MB / 0.6159 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.4376, allocations: 1.283 MB / 0.6172 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.4394, allocations: 2.054 MB / 0.6192 GB, free: 3.797 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002518/0.442, allocations: 2.373 MB / 0.6215 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007669/0.4496, allocations: 8.071 MB / 0.6294 GB, free: 9.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4497, allocations: 0 / 0.6294 GB, free: 9.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4497, allocations: 4 kB / 0.6294 GB, free: 9.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001545/0.4498, allocations: 0 / 0.6294 GB, free: 9.316 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01012/0.46, allocations: 4.224 MB / 0.6335 GB, free: 5.027 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.46, allocations: 12.03 kB / 0.6335 GB, free: 5.016 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008047/0.4608, allocations: 0.5421 MB / 0.634 GB, free: 4.465 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.465, allocations: 0.8 MB / 0.6348 GB, free: 3.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.4689, allocations: 2.421 MB / 0.6372 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.4691, allocations: 279.6 kB / 0.6375 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006154/0.4697, allocations: 380.4 kB / 0.6378 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008714/0.4784, allocations: 5.984 MB / 0.6437 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.279e-05/0.4785, allocations: 19.78 kB / 0.6437 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/0.4789, allocations: 160 kB / 0.6438 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005535/0.4794, allocations: 278.9 kB / 0.6441 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006672/0.4861, allocations: 4.528 MB / 0.6485 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02749/0.5136, allocations: 27.66 MB / 0.6755 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.5153, allocations: 1.126 MB / 0.6766 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.5166, allocations: 1.023 MB / 0.6776 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.099e-05/0.5167, allocations: 13 kB / 0.6776 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.5168, allocations: 43.56 kB / 0.6777 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 2.565e-06/0.5168, allocations: 0 / 0.6777 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131): time 0.0207/0.5375, allocations: 9.661 MB / 0.6871 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.5375, allocations: 68.7 kB / 0.6872 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.5397, allocations: 1.494 MB / 0.6886 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.5398, allocations: 53.7 kB / 0.6887 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.5408, allocations: 1.667 MB / 0.6903 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.5412, allocations: 473.3 kB / 0.6908 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005311/0.5418, allocations: 335.2 kB / 0.6911 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5419, allocations: 305.1 kB / 0.6914 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.5431, allocations: 0.9174 MB / 0.6923 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.5448, allocations: 1.467 MB / 0.6937 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/0.5478, allocations: 2.546 MB / 0.6962 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.5478, allocations: 4 kB / 0.6962 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005386/0.5532, allocations: 3.286 MB / 0.6994 GB, free: 13.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.5533, allocations: 15.98 kB / 0.6994 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.5533, allocations: 19.94 kB / 0.6994 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/0.5555, allocations: 0.7375 MB / 0.7002 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.557, allocations: 391.4 kB / 0.7005 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.5733, allocations: 17.05 MB / 0.7172 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.5752, allocations: 95.91 kB / 0.7173 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/0.5755, allocations: 76.17 kB / 0.7174 GB, free: 10.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.00227/0.5778, allocations: 1.313 MB / 0.7186 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/0.5783, allocations: 201.6 kB / 0.7188 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/0.5833, allocations: 2.796 MB / 0.7216 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5834, allocations: 12 kB / 0.7216 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/0.5834, allocations: 8 kB / 0.7216 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5834, allocations: 3.984 kB / 0.7216 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.5945, allocations: 6.216 MB / 0.7277 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.5945, allocations: 4 kB / 0.7277 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.5957, allocations: 231.7 kB / 0.7279 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/0.5977, allocations: 0.6716 MB / 0.7285 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/0.5979, allocations: 35.98 kB / 0.7286 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2684/0.8663, allocations: 16.79 MB / 0.745 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.8664, allocations: 6.844 kB / 0.745 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006339/0.8727, allocations: 4.008 MB / 0.7489 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009801/0.8737, allocations: 450.8 kB / 0.7493 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.874, allocations: 37.27 kB / 0.7493 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.8749, allocations: 86.53 kB / 0.7494 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/0.8753, allocations: 120.7 kB / 0.7495 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/0.8754, allocations: 38.23 kB / 0.7496 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001377/0.8768, allocations: 0.9959 MB / 0.7506 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8768, allocations: 0 / 0.7506 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002194/0.879, allocations: 0.6847 MB / 0.7512 GB, free: 151 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.006006/0.885, allocations: 4.61 MB / 0.7557 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006206/0.8912, allocations: 4.099 MB / 0.7597 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.8912, allocations: 3.656 kB / 0.7597 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00287/0.8941, allocations: 2.298 MB / 0.762 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.897, allocations: 0.6626 MB / 0.7626 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/0.9359, allocations: 24.26 MB / 0.7863 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/0.9385, allocations: 2.665 MB / 0.7889 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001654/0.9401, allocations: 492.8 kB / 0.7894 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.9413, allocations: 1.283 MB / 0.7906 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.9413, allocations: 0 / 0.7906 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0877/1.029, allocations: 56.32 MB / 0.8456 GB, free: 76.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/1.029, allocations: 235.4 kB / 0.8459 GB, free: 76.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/3.947, allocations: 0 / 0.8459 GB, free: 76.21 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)