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.001077/0.001077, allocations: 110.1 kB / 16.41 MB, free: 6.5 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.00105/0.00105, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7718/0.7718, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 77.72 kB / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1751, allocations: 77.91 MB / 0.6441 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02383/0.199, allocations: 22.58 MB / 0.6661 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.2101, allocations: 6.229 MB / 0.6722 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.2121, allocations: 91.56 kB / 0.6723 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004213/0.2163, allocations: 1.549 MB / 0.6738 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004312/0.2207, allocations: 1.727 MB / 0.6755 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.2239, allocations: 1.344 MB / 0.6768 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006553/0.2305, allocations: 5.951 MB / 0.6826 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007466/0.238, allocations: 6.049 MB / 0.6885 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/0.2426, allocations: 2.446 MB / 0.6909 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004953/0.2476, allocations: 2.866 MB / 0.6937 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000804/0.2485, allocations: 464 kB / 0.6942 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.2509, allocations: 1.096 MB / 0.6952 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.2529, allocations: 2.035 MB / 0.6972 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003026/0.2559, allocations: 2.167 MB / 0.6993 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007634/0.2636, allocations: 7.312 MB / 0.7065 GB, free: 9.402 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2636, allocations: 0 / 0.7065 GB, free: 9.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2636, allocations: 0 / 0.7065 GB, free: 9.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001597/0.2638, allocations: 0 / 0.7065 GB, free: 9.402 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.00696/0.2708, allocations: 3.917 MB / 0.7103 GB, free: 5.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2708, allocations: 12.56 kB / 0.7103 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006158/0.2714, allocations: 0.5054 MB / 0.7108 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006081/0.2775, allocations: 1.231 MB / 0.712 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.2827, allocations: 2.357 MB / 0.7143 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.2829, allocations: 242.4 kB / 0.7145 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006854/0.2836, allocations: 308 kB / 0.7148 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009041/0.2926, allocations: 6.216 MB / 0.7209 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.042e-05/0.2927, allocations: 11.88 kB / 0.7209 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003617/0.2931, allocations: 143.9 kB / 0.721 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004594/0.2936, allocations: 402.3 kB / 0.7214 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007375/0.301, allocations: 4.662 MB / 0.726 GB, free: 5.012 MB / 0.5606 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.3459/0.6469, allocations: 28.99 MB / 0.7543 GB, free: 78.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.6493, allocations: 1.417 MB / 0.7557 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.6517, allocations: 1.483 MB / 0.7571 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.6518, allocations: 14.27 kB / 0.7571 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.6519, allocations: 45.97 kB / 0.7572 GB, free: 78.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 4.048e-06/0.6519, allocations: 0.5 kB / 0.7572 GB, free: 78.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=179): time 0.1415/0.7933, allocations: 37.29 MB / 0.7936 GB, free: 59.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.7934, allocations: 73.41 kB / 0.7937 GB, free: 59.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.795, allocations: 1.426 MB / 0.7951 GB, free: 57.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/0.7954, allocations: 57.7 kB / 0.7951 GB, free: 57.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000696/0.7961, allocations: 1.59 MB / 0.7967 GB, free: 56.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/0.7966, allocations: 0.6369 MB / 0.7973 GB, free: 55.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006302/0.7973, allocations: 383.4 kB / 0.7977 GB, free: 55.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.7973, allocations: 301.1 kB / 0.7979 GB, free: 55.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.7993, allocations: 1.788 MB / 0.7997 GB, free: 53.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.8013, allocations: 2.346 MB / 0.802 GB, free: 50.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/0.8056, allocations: 4.391 MB / 0.8063 GB, free: 46.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.8056, allocations: 8 kB / 0.8063 GB, free: 46.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01528/0.8209, allocations: 8.569 MB / 0.8146 GB, free: 37.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.8209, allocations: 16 kB / 0.8147 GB, free: 37.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.821, allocations: 16.84 kB / 0.8147 GB, free: 37.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0132/0.8342, allocations: 4.648 MB / 0.8192 GB, free: 32.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.8353, allocations: 295.5 kB / 0.8195 GB, free: 32.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03759/0.8729, allocations: 32.63 MB / 0.8514 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.8751, allocations: 156.6 kB / 0.8515 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.8754, allocations: 80 kB / 0.8516 GB, free: 14.84 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.002076/0.8774, allocations: 1.337 MB / 0.8529 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.8779, allocations: 211.3 kB / 0.8531 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/0.8949, allocations: 8.429 MB / 0.8613 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.8949, allocations: 20 kB / 0.8613 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-05/0.895, allocations: 29.03 kB / 0.8614 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.09e-05/0.8951, allocations: 11.91 kB / 0.8614 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02688/0.9219, allocations: 12.84 MB / 0.8739 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.922, allocations: 13 kB / 0.8739 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.9227, allocations: 159.8 kB / 0.8741 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01466/0.9374, allocations: 4.49 MB / 0.8785 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/0.9377, allocations: 32 kB / 0.8785 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04694/0.9846, allocations: 32.23 MB / 0.91 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.408e-05/0.9847, allocations: 19.88 kB / 0.91 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/1.003, allocations: 8.253 MB / 0.9181 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/1.005, allocations: 0.6245 MB / 0.9187 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/1.005, allocations: 32.75 kB / 0.9187 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/1.007, allocations: 139.8 kB / 0.9188 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008471/1.008, allocations: 168.9 kB / 0.919 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.008, allocations: 52 kB / 0.919 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001633/1.01, allocations: 0.9548 MB / 0.92 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/1.01, allocations: 0 / 0.92 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003841/1.014, allocations: 1.117 MB / 0.9211 GB, free: 6.539 MB / 0.6544 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.01781/1.032, allocations: 8.857 MB / 0.9297 GB, free: 13.55 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0133/1.045, allocations: 6.557 MB / 0.9361 GB, free: 6.926 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.045, allocations: 0.875 kB / 0.9361 GB, free: 6.926 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009902/1.055, allocations: 4.368 MB / 0.9404 GB, free: 2.484 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.058, allocations: 0.527 MB / 0.9409 GB, free: 1.984 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06788/1.126, allocations: 33.74 MB / 0.9739 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004276/1.13, allocations: 2.723 MB / 0.9765 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001158/1.131, allocations: 384.6 kB / 0.9769 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.133, allocations: 1.218 MB / 0.9781 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of SimCode: time 1.473e-06/1.133, allocations: 3.938 kB / 0.9781 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4846/1.618, allocations: 83.87 MB / 1.06 GB, free: 262.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.93, allocations: 8.891 kB / 1.06 GB, free: 262.5 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)