Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.001398/0.001398, allocations: 104.6 kB / 16.4 MB, free: 6.52 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.002145/0.002145, allocations: 196 kB / 17.34 MB, free: 5.73 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.447/1.447, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8415/0.8415, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 65.81 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1732, allocations: 78.87 MB / 0.6506 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04421/0.2175, allocations: 37.57 MB / 0.6873 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02371/0.2412, allocations: 13.05 MB / 0.7 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.2453, allocations: 171.1 kB / 0.7002 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.2554, allocations: 3.89 MB / 0.704 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007511/0.2629, allocations: 2.483 MB / 0.7064 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007737/0.2707, allocations: 2.707 MB / 0.709 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01404/0.2848, allocations: 9.567 MB / 0.7184 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/0.2991, allocations: 10.49 MB / 0.7286 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007556/0.3067, allocations: 3.992 MB / 0.7325 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008328/0.3151, allocations: 4.381 MB / 0.7368 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002381/0.3175, allocations: 0.7695 MB / 0.7376 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.3226, allocations: 1.79 MB / 0.7393 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005139/0.3277, allocations: 3.033 MB / 0.7423 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.008176/0.3359, allocations: 3.587 MB / 0.7458 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3905/0.7264, allocations: 11.88 MB / 0.7574 GB, free: 34.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.7265, allocations: 0 / 0.7574 GB, free: 34.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7265, allocations: 0 / 0.7574 GB, free: 34.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000467/0.727, allocations: 0.6875 kB / 0.7574 GB, free: 34.38 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.03245/0.7594, allocations: 6.515 MB / 0.7637 GB, free: 31.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.7595, allocations: 15.59 kB / 0.7637 GB, free: 31.88 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004542/0.7641, allocations: 0.7505 MB / 0.7645 GB, free: 31.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.776, allocations: 1.328 MB / 0.7658 GB, free: 31.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.7875, allocations: 3.812 MB / 0.7695 GB, free: 30.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005146/0.7881, allocations: 379.2 kB / 0.7699 GB, free: 30.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003945/0.792, allocations: 0.5025 MB / 0.7704 GB, free: 30.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02862/0.8207, allocations: 8.892 MB / 0.779 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000329/0.821, allocations: 26.64 kB / 0.7791 GB, free: 29.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003247/0.8243, allocations: 221.5 kB / 0.7793 GB, free: 29.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002321/0.8266, allocations: 0.6298 MB / 0.7799 GB, free: 29.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.8435, allocations: 7.016 MB / 0.7867 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05084/0.8944, allocations: 40.11 MB / 0.8259 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/0.899, allocations: 2.892 MB / 0.8287 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004171/0.9032, allocations: 2.662 MB / 0.8313 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.9035, allocations: 26.41 kB / 0.8314 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.76e-05/0.9036, allocations: 70.66 kB / 0.8314 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=265): time 4.568e-06/0.9036, allocations: 0 / 0.8314 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=424): time 0.3253/1.229, allocations: 74.8 MB / 0.9045 GB, free: 11.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/1.229, allocations: 94.73 kB / 0.9046 GB, free: 11.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003987/1.233, allocations: 2.356 MB / 0.9069 GB, free: 8.848 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009456/1.234, allocations: 97.7 kB / 0.907 GB, free: 8.746 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002045/1.236, allocations: 2.399 MB / 0.9093 GB, free: 6.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002416/1.239, allocations: 1.509 MB / 0.9108 GB, free: 4.848 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001658/1.24, allocations: 0.7256 MB / 0.9115 GB, free: 4.109 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.24, allocations: 309 kB / 0.9118 GB, free: 3.805 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004828/1.245, allocations: 2.999 MB / 0.9147 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005605/1.251, allocations: 3.841 MB / 0.9185 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/1.262, allocations: 7.382 MB / 0.9257 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/1.262, allocations: 8 kB / 0.9257 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03282/1.295, allocations: 12.58 MB / 0.938 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/1.295, allocations: 19.47 kB / 0.938 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/1.295, allocations: 25.97 kB / 0.938 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02423/1.319, allocations: 6.02 MB / 0.9439 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/1.322, allocations: 498 kB / 0.9444 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1006/1.423, allocations: 73.05 MB / 1.016 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/1.428, allocations: 219.8 kB / 1.016 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/1.429, allocations: 152 kB / 1.016 GB, free: 5.668 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005765/1.435, allocations: 1.989 MB / 1.018 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/1.436, allocations: 409.5 kB / 1.018 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03268/1.469, allocations: 12.23 MB / 1.03 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.174e-05/1.469, allocations: 40 kB / 1.03 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001718/1.469, allocations: 55.12 kB / 1.03 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.314e-05/1.469, allocations: 19.92 kB / 1.03 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04567/1.515, allocations: 19.15 MB / 1.049 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-05/1.515, allocations: 8 kB / 1.049 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/1.517, allocations: 291.1 kB / 1.049 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3697/1.887, allocations: 5.568 MB / 1.055 GB, free: 295.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001034/1.888, allocations: 82.95 kB / 1.055 GB, free: 295.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07261/1.96, allocations: 70.67 MB / 1.124 GB, free: 250 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.96, allocations: 7.531 kB / 1.124 GB, free: 250 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02988/1.99, allocations: 15.64 MB / 1.139 GB, free: 240.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003283/1.994, allocations: 1.064 MB / 1.14 GB, free: 239.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.995, allocations: 84.5 kB / 1.14 GB, free: 239.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/1.998, allocations: 211.6 kB / 1.141 GB, free: 239.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/2, allocations: 403.3 kB / 1.141 GB, free: 239.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003495/2, allocations: 111.9 kB / 1.141 GB, free: 239.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002236/2.002, allocations: 1.557 MB / 1.143 GB, free: 237.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/2.002, allocations: 3.172 kB / 1.143 GB, free: 237.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007697/2.01, allocations: 1.859 MB / 1.144 GB, free: 235.9 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02852/2.039, allocations: 16.31 MB / 1.16 GB, free: 219.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02032/2.059, allocations: 12.23 MB / 1.172 GB, free: 206.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.341e-05/2.059, allocations: 0 / 1.172 GB, free: 206.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01537/2.075, allocations: 8.401 MB / 1.18 GB, free: 198.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008821/2.083, allocations: 1.186 MB / 1.182 GB, free: 197.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1176/2.201, allocations: 54.05 MB / 1.234 GB, free: 141.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006987/2.208, allocations: 4.091 MB / 1.238 GB, free: 137.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002904/2.211, allocations: 0.663 MB / 1.239 GB, free: 136.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003088/2.214, allocations: 2.128 MB / 1.241 GB, free: 134.6 MB / 0.8106 GB Notification: Performance of SimCode: time 8.72e-07/2.214, allocations: 0 / 1.241 GB, free: 134.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.608/2.822, allocations: 150.9 MB / 1.388 GB, free: 281.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/22.24, allocations: 1.031 kB / 1.388 GB, free: 281.1 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)