Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001102/0.001103, allocations: 99.34 kB / 16.27 MB, free: 6.41 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.00123/0.00123, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.264/1.264, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7116/0.7116, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 0.4912 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.307, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0281/0.3351, allocations: 32.59 MB / 0.5991 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.3494, allocations: 10.27 MB / 0.6091 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/0.3527, allocations: 147.2 kB / 0.6093 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008768/0.3615, allocations: 3.718 MB / 0.6129 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004742/0.3663, allocations: 1.859 MB / 0.6147 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004845/0.3711, allocations: 2.129 MB / 0.6168 GB, free: 7.988 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007903/0.379, allocations: 7.336 MB / 0.624 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01244/0.3915, allocations: 9.487 MB / 0.6332 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.3961, allocations: 3.155 MB / 0.6363 GB, free: 3.902 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005025/0.4012, allocations: 3.474 MB / 0.6397 GB, free: 428 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.4027, allocations: 0.6523 MB / 0.6403 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00414/0.4069, allocations: 1.767 MB / 0.6421 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003345/0.4102, allocations: 2.538 MB / 0.6446 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005911/0.4162, allocations: 2.902 MB / 0.6474 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.4269, allocations: 10.05 MB / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.427, allocations: 4 kB / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.427, allocations: 4 kB / 0.6572 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002264/0.4272, allocations: 0 / 0.6572 GB, free: 14.45 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009855/0.4371, allocations: 4.994 MB / 0.6621 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4371, allocations: 8.625 kB / 0.6621 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009097/0.438, allocations: 0.6781 MB / 0.6628 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004848/0.4429, allocations: 0.9629 MB / 0.6637 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004765/0.4477, allocations: 2.855 MB / 0.6665 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.4479, allocations: 357.7 kB / 0.6668 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007671/0.4487, allocations: 460.2 kB / 0.6673 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.4601, allocations: 7.671 MB / 0.6748 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.4603, allocations: 31.61 kB / 0.6748 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004244/0.4607, allocations: 200 kB / 0.675 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002815/0.461, allocations: 316.9 kB / 0.6753 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008382/0.4694, allocations: 5.706 MB / 0.6809 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03101/0.5004, allocations: 35.1 MB / 0.7151 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.5029, allocations: 2.148 MB / 0.7172 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.5045, allocations: 1.264 MB / 0.7185 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.035e-05/0.5046, allocations: 21.31 kB / 0.7185 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.5046, allocations: 47.88 kB / 0.7185 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.888e-06/0.5046, allocations: 0 / 0.7185 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01288/0.5175, allocations: 7.081 MB / 0.7254 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.5176, allocations: 64.72 kB / 0.7255 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.5194, allocations: 1.488 MB / 0.727 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5195, allocations: 49.7 kB / 0.727 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.5206, allocations: 2 MB / 0.729 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/0.521, allocations: 493 kB / 0.7294 GB, free: 276 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/0.5215, allocations: 351.1 kB / 0.7298 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.5216, allocations: 301.1 kB / 0.73 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.5228, allocations: 0.9096 MB / 0.7309 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.5243, allocations: 1.601 MB / 0.7325 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/0.5273, allocations: 2.733 MB / 0.7352 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.5273, allocations: 4 kB / 0.7352 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005549/0.5328, allocations: 3.538 MB / 0.7386 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.5329, allocations: 12 kB / 0.7386 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.5329, allocations: 27.94 kB / 0.7387 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/0.5353, allocations: 0.9004 MB / 0.7395 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5363, allocations: 359.3 kB / 0.7399 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2683/0.8046, allocations: 23.11 MB / 0.7624 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.8062, allocations: 99.59 kB / 0.7625 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.8063, allocations: 89.11 kB / 0.7626 GB, free: 136.9 MB / 0.5762 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.002105/0.8084, allocations: 1.611 MB / 0.7642 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.8088, allocations: 204.3 kB / 0.7644 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.8136, allocations: 2.985 MB / 0.7673 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.8137, allocations: 21.5 kB / 0.7673 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.8137, allocations: 9.719 kB / 0.7673 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.8137, allocations: 7.297 kB / 0.7673 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009957/0.8237, allocations: 7.356 MB / 0.7745 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/0.8237, allocations: 4.656 kB / 0.7745 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007121/0.8244, allocations: 174.7 kB / 0.7747 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.8264, allocations: 0.8265 MB / 0.7755 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.8265, allocations: 31.81 kB / 0.7755 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/0.8404, allocations: 21.95 MB / 0.797 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8404, allocations: 8.938 kB / 0.797 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.8446, allocations: 3.025 MB / 0.7999 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006335/0.8453, allocations: 460.9 kB / 0.8004 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.8455, allocations: 27.16 kB / 0.8004 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.8463, allocations: 77.88 kB / 0.8005 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.8466, allocations: 127.2 kB / 0.8006 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/0.8466, allocations: 38.88 kB / 0.8006 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009886/0.8476, allocations: 0.9751 MB / 0.8016 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8476, allocations: 0 / 0.8016 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002324/0.85, allocations: 0.7841 MB / 0.8024 GB, free: 109.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003931/0.8539, allocations: 3.612 MB / 0.8059 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005366/0.8593, allocations: 4.648 MB / 0.8104 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.8593, allocations: 0 / 0.8104 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00283/0.8622, allocations: 2.739 MB / 0.8131 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.8651, allocations: 0.728 MB / 0.8138 GB, free: 99.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02567/0.8908, allocations: 23.84 MB / 0.8371 GB, free: 74.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00234/0.8932, allocations: 3.109 MB / 0.8401 GB, free: 71.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001238/0.8944, allocations: 450 kB / 0.8406 GB, free: 70.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.8956, allocations: 1.538 MB / 0.8421 GB, free: 69.2 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.8957, allocations: 0 / 0.8421 GB, free: 69.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09435/0.99, allocations: 60.24 MB / 0.9009 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.882/10.87, allocations: 8 kB / 0.9009 GB, free: 9.59 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)