Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001346/0.001346, allocations: 105.7 kB / 16.4 MB, free: 6.457 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.001407/0.001407, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8356/0.8356, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001888, allocations: 69.17 kB / 0.5736 GB, free: 26.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1664, allocations: 78.87 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03193/0.1984, allocations: 22.57 MB / 0.6726 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.2101, allocations: 6.237 MB / 0.6787 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.2123, allocations: 91.56 kB / 0.6788 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004549/0.2169, allocations: 1.548 MB / 0.6803 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.2214, allocations: 1.625 MB / 0.6819 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.2255, allocations: 1.339 MB / 0.6832 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.2359, allocations: 5.935 MB / 0.689 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.2467, allocations: 6.049 MB / 0.6949 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005007/0.2517, allocations: 2.407 MB / 0.6973 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005179/0.2569, allocations: 2.874 MB / 0.7001 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.2584, allocations: 460 kB / 0.7005 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.2615, allocations: 1.096 MB / 0.7016 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003223/0.2647, allocations: 2.035 MB / 0.7036 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00444/0.2692, allocations: 2.167 MB / 0.7057 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.28, allocations: 7.316 MB / 0.7128 GB, free: 3.582 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.2801, allocations: 0 / 0.7128 GB, free: 3.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.976e-06/0.2801, allocations: 0 / 0.7128 GB, free: 3.582 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002902/0.2804, allocations: 0 / 0.7128 GB, free: 3.582 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01184/0.2923, allocations: 3.909 MB / 0.7166 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.787e-05/0.2924, allocations: 12.03 kB / 0.7166 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001898/0.2943, allocations: 0.4976 MB / 0.7171 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007218/0.3015, allocations: 1.239 MB / 0.7183 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006382/0.3079, allocations: 2.353 MB / 0.7206 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003419/0.3083, allocations: 238.4 kB / 0.7209 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/0.31, allocations: 319.9 kB / 0.7212 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.3252, allocations: 6.209 MB / 0.7272 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/0.3254, allocations: 11.88 kB / 0.7272 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/0.3267, allocations: 143.9 kB / 0.7274 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006716/0.3274, allocations: 410.2 kB / 0.7278 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.3377, allocations: 4.662 MB / 0.7323 GB, free: 15.2 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3556/0.6934, allocations: 28.99 MB / 0.7606 GB, free: 70.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.696, allocations: 1.419 MB / 0.762 GB, free: 70.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.6982, allocations: 1.479 MB / 0.7635 GB, free: 70.08 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.6983, allocations: 14.47 kB / 0.7635 GB, free: 70.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.6983, allocations: 44.64 kB / 0.7635 GB, free: 70.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 3.546e-06/0.6983, allocations: 3.891 kB / 0.7635 GB, free: 70.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=179): time 0.14/0.8383, allocations: 37.29 MB / 0.8 GB, free: 48.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.8384, allocations: 73.41 kB / 0.8 GB, free: 48.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.84, allocations: 1.419 MB / 0.8014 GB, free: 47.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000322/0.8403, allocations: 53.7 kB / 0.8015 GB, free: 47.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/0.841, allocations: 1.585 MB / 0.803 GB, free: 45.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/0.8414, allocations: 0.6411 MB / 0.8036 GB, free: 45.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006158/0.8421, allocations: 379.5 kB / 0.804 GB, free: 44.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.8421, allocations: 301.1 kB / 0.8043 GB, free: 44.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.844, allocations: 1.788 MB / 0.806 GB, free: 42.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.8461, allocations: 2.35 MB / 0.8083 GB, free: 40.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/0.8504, allocations: 4.398 MB / 0.8126 GB, free: 35.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.8504, allocations: 8 kB / 0.8126 GB, free: 35.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01534/0.8657, allocations: 8.583 MB / 0.821 GB, free: 26.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.8658, allocations: 13.72 kB / 0.821 GB, free: 26.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.8658, allocations: 16 kB / 0.821 GB, free: 26.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01342/0.8792, allocations: 4.627 MB / 0.8256 GB, free: 22.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.8803, allocations: 307.4 kB / 0.8258 GB, free: 21.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04256/0.9229, allocations: 32.62 MB / 0.8577 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.9254, allocations: 155.8 kB / 0.8578 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/0.9257, allocations: 85.02 kB / 0.8579 GB, free: 4.184 MB / 0.5919 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002535/0.9282, allocations: 1.332 MB / 0.8592 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/0.9287, allocations: 210.7 kB / 0.8594 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01909/0.9478, allocations: 8.429 MB / 0.8677 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.9479, allocations: 16 kB / 0.8677 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.345e-05/0.948, allocations: 32.81 kB / 0.8677 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.661e-05/0.948, allocations: 7.969 kB / 0.8677 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/0.975, allocations: 12.85 MB / 0.8803 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/0.9751, allocations: 8 kB / 0.8803 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/0.9759, allocations: 164.5 kB / 0.8804 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01571/0.9916, allocations: 4.489 MB / 0.8848 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003865/0.9921, allocations: 43.88 kB / 0.8849 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05064/1.043, allocations: 32.22 MB / 0.9163 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.043, allocations: 11.94 kB / 0.9163 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/1.061, allocations: 8.253 MB / 0.9244 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.063, allocations: 0.6286 MB / 0.925 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/1.063, allocations: 36 kB / 0.925 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.065, allocations: 139.8 kB / 0.9252 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007853/1.065, allocations: 168.8 kB / 0.9253 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.065, allocations: 56 kB / 0.9254 GB, free: 13.94 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001346/1.067, allocations: 0.9588 MB / 0.9263 GB, free: 12.99 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.067, allocations: 0 / 0.9263 GB, free: 12.99 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003358/1.07, allocations: 1.113 MB / 0.9274 GB, free: 11.88 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01862/1.089, allocations: 8.849 MB / 0.9361 GB, free: 2.887 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.102, allocations: 6.55 MB / 0.9425 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.102, allocations: 0 / 0.9425 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01024/1.113, allocations: 4.377 MB / 0.9467 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/1.116, allocations: 0.515 MB / 0.9472 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06979/1.185, allocations: 33.76 MB / 0.9802 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003627/1.189, allocations: 2.723 MB / 0.9829 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001241/1.19, allocations: 384.6 kB / 0.9832 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/1.192, allocations: 1.214 MB / 0.9844 GB, free: 312 kB / 0.7169 GB Notification: Performance of SimCode: time 1.452e-06/1.192, allocations: 3.938 kB / 0.9844 GB, free: 308 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4642/1.656, allocations: 83.88 MB / 1.066 GB, free: 250 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/15.17, allocations: 12.02 kB / 1.066 GB, free: 250 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)