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.001054/0.001054, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001162/0.001162, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7592/0.7592, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3495, allocations: 77.91 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02541/0.375, allocations: 26.64 MB / 0.5933 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.3889, allocations: 8.064 MB / 0.6012 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.3919, allocations: 115.2 kB / 0.6013 GB, free: 7.586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00582/0.3979, allocations: 2.768 MB / 0.604 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.4019, allocations: 1.578 MB / 0.6055 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.4053, allocations: 1.681 MB / 0.6072 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005996/0.4113, allocations: 6.136 MB / 0.6132 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008009/0.4193, allocations: 7.432 MB / 0.6204 GB, free: 4.238 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.4235, allocations: 2.555 MB / 0.6229 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004495/0.428, allocations: 2.831 MB / 0.6257 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009355/0.429, allocations: 0.5117 MB / 0.6262 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.4317, allocations: 1.287 MB / 0.6275 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.4336, allocations: 2.047 MB / 0.6295 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003095/0.4367, allocations: 2.381 MB / 0.6318 GB, free: 8.594 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007933/0.4446, allocations: 8.005 MB / 0.6396 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4447, allocations: 0 / 0.6396 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4447, allocations: 0 / 0.6396 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002063/0.4449, allocations: 3.938 kB / 0.6396 GB, free: 0.5625 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.009037/0.4539, allocations: 4.224 MB / 0.6437 GB, free: 12.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.454, allocations: 8.625 kB / 0.6437 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000726/0.4547, allocations: 0.5421 MB / 0.6443 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/0.4588, allocations: 0.8039 MB / 0.645 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.4633, allocations: 2.424 MB / 0.6474 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.4635, allocations: 271.7 kB / 0.6477 GB, free: 8.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007682/0.4643, allocations: 376.4 kB / 0.648 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.4744, allocations: 5.992 MB / 0.6539 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-05/0.4745, allocations: 19.78 kB / 0.6539 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003484/0.4748, allocations: 160 kB / 0.6541 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000552/0.4754, allocations: 278.9 kB / 0.6543 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007102/0.4825, allocations: 4.524 MB / 0.6587 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03102/0.5135, allocations: 27.65 MB / 0.6857 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.5151, allocations: 1.123 MB / 0.6868 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.5164, allocations: 1.023 MB / 0.6878 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.795e-05/0.5165, allocations: 13 kB / 0.6879 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.5165, allocations: 43.56 kB / 0.6879 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 2.866e-06/0.5165, allocations: 0 / 0.6879 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.02196/0.5385, allocations: 9.666 MB / 0.6973 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.5386, allocations: 68.66 kB / 0.6974 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.541, allocations: 1.494 MB / 0.6989 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.5411, allocations: 53.69 kB / 0.6989 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.5422, allocations: 1.671 MB / 0.7005 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/0.5426, allocations: 469.3 kB / 0.701 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000533/0.5432, allocations: 331.2 kB / 0.7013 GB, free: 14.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.5433, allocations: 305.1 kB / 0.7016 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.5446, allocations: 0.9135 MB / 0.7025 GB, free: 12.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.5464, allocations: 1.459 MB / 0.7039 GB, free: 11.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.5497, allocations: 2.554 MB / 0.7064 GB, free: 8.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.5497, allocations: 7.938 kB / 0.7064 GB, free: 8.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005877/0.5556, allocations: 3.285 MB / 0.7096 GB, free: 5.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.5556, allocations: 18.28 kB / 0.7096 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/0.5557, allocations: 16.88 kB / 0.7097 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.5581, allocations: 0.7413 MB / 0.7104 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.5596, allocations: 387.3 kB / 0.7108 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.576, allocations: 17.06 MB / 0.7274 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.578, allocations: 95.91 kB / 0.7275 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000399/0.5785, allocations: 72 kB / 0.7276 GB, free: 1.473 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.002664/0.5811, allocations: 1.317 MB / 0.7289 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/0.5817, allocations: 197.8 kB / 0.729 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00523/0.5869, allocations: 2.784 MB / 0.7318 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.587, allocations: 12 kB / 0.7318 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/0.587, allocations: 8 kB / 0.7318 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.587, allocations: 7.969 kB / 0.7318 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.5998, allocations: 6.213 MB / 0.7379 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.5998, allocations: 4 kB / 0.7379 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.6011, allocations: 239.6 kB / 0.7381 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.6031, allocations: 0.6712 MB / 0.7387 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.6032, allocations: 32 kB / 0.7388 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3085/0.9118, allocations: 16.8 MB / 0.7552 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.9118, allocations: 9.062 kB / 0.7552 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007925/0.9197, allocations: 4.006 MB / 0.7591 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.9208, allocations: 451.8 kB / 0.7595 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.921, allocations: 40.25 kB / 0.7596 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009285/0.922, allocations: 81.16 kB / 0.7596 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.9224, allocations: 118.5 kB / 0.7598 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.9225, allocations: 43.22 kB / 0.7598 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001479/0.9239, allocations: 0.9928 MB / 0.7608 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9239, allocations: 0 / 0.7608 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002332/0.9263, allocations: 0.6851 MB / 0.7614 GB, free: 141.7 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.005901/0.9322, allocations: 4.603 MB / 0.7659 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005846/0.938, allocations: 4.106 MB / 0.7699 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.9381, allocations: 4.375 kB / 0.7699 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002741/0.9408, allocations: 2.294 MB / 0.7722 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/0.9441, allocations: 0.6759 MB / 0.7728 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/0.9753, allocations: 22.73 MB / 0.795 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/0.9777, allocations: 2.664 MB / 0.7976 GB, free: 117.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001677/0.9794, allocations: 481.4 kB / 0.7981 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.9807, allocations: 1.28 MB / 0.7994 GB, free: 116 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/0.9807, allocations: 4 kB / 0.7994 GB, free: 116 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09831/1.079, allocations: 56.24 MB / 0.8543 GB, free: 60.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.774/10.85, allocations: 7.375 kB / 0.8543 GB, free: 60.45 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)