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.001097/0.001097, allocations: 105.8 kB / 16.4 MB, free: 6.516 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.001083/0.001083, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7649/0.7649, allocations: 122.9 MB / 414.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.83 kB / 0.568 GB, free: 28.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1454, allocations: 77.92 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04115/0.1866, allocations: 37.56 MB / 0.6808 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.2087, allocations: 13.05 MB / 0.6935 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003986/0.2127, allocations: 171.1 kB / 0.6937 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.2229, allocations: 3.898 MB / 0.6975 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008341/0.2313, allocations: 2.608 MB / 0.7 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007665/0.239, allocations: 2.703 MB / 0.7027 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.2501, allocations: 9.598 MB / 0.712 GB, free: 3.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01401/0.2642, allocations: 10.49 MB / 0.7223 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006804/0.271, allocations: 4.074 MB / 0.7263 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007015/0.278, allocations: 4.381 MB / 0.7305 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002207/0.2803, allocations: 0.7696 MB / 0.7313 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/0.2847, allocations: 1.779 MB / 0.733 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004264/0.289, allocations: 3.033 MB / 0.736 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006793/0.2958, allocations: 3.583 MB / 0.7395 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4047/0.7005, allocations: 11.89 MB / 0.7511 GB, free: 35 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7006, allocations: 1.188 kB / 0.7511 GB, free: 35 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7006, allocations: 1.25 kB / 0.7511 GB, free: 35 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004299/0.701, allocations: 0 / 0.7511 GB, free: 35 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.02416/0.7252, allocations: 6.521 MB / 0.7575 GB, free: 32.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.7253, allocations: 10.28 kB / 0.7575 GB, free: 32.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003851/0.7291, allocations: 0.7511 MB / 0.7582 GB, free: 32.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.7409, allocations: 1.332 MB / 0.7595 GB, free: 32.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.7539, allocations: 3.81 MB / 0.7632 GB, free: 31.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004659/0.7544, allocations: 380.2 kB / 0.7636 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003523/0.7579, allocations: 0.5016 MB / 0.7641 GB, free: 31.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.7818, allocations: 8.887 MB / 0.7728 GB, free: 30.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002017/0.782, allocations: 28.83 kB / 0.7728 GB, free: 30.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.7831, allocations: 226.8 kB / 0.773 GB, free: 30.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/0.7854, allocations: 0.6283 MB / 0.7736 GB, free: 30.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.7998, allocations: 7.015 MB / 0.7805 GB, free: 30.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0481/0.8479, allocations: 40.11 MB / 0.8196 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004361/0.8524, allocations: 2.899 MB / 0.8225 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003702/0.8561, allocations: 2.667 MB / 0.8251 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.8564, allocations: 26.22 kB / 0.8251 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.8564, allocations: 67.97 kB / 0.8252 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=265): time 4.89e-06/0.8564, allocations: 0 / 0.8252 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=424): time 0.3155/1.172, allocations: 74.79 MB / 0.8982 GB, free: 364 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/1.172, allocations: 94.73 kB / 0.8983 GB, free: 256 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/1.175, allocations: 2.361 MB / 0.9006 GB, free: 13.88 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008943/1.176, allocations: 93.7 kB / 0.9007 GB, free: 13.78 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/1.178, allocations: 2.405 MB / 0.903 GB, free: 11.36 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001705/1.179, allocations: 1.505 MB / 0.9045 GB, free: 9.875 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/1.181, allocations: 0.7254 MB / 0.9052 GB, free: 9.141 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.181, allocations: 305.1 kB / 0.9055 GB, free: 8.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00443/1.185, allocations: 3.003 MB / 0.9084 GB, free: 5.828 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005041/1.191, allocations: 3.845 MB / 0.9122 GB, free: 1.664 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.201, allocations: 7.385 MB / 0.9194 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/1.201, allocations: 7.375 kB / 0.9194 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03078/1.232, allocations: 12.58 MB / 0.9317 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/1.232, allocations: 16.94 kB / 0.9317 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/1.232, allocations: 23.56 kB / 0.9317 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02406/1.256, allocations: 6.024 MB / 0.9376 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/1.259, allocations: 495 kB / 0.9381 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08791/1.347, allocations: 73.04 MB / 1.009 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/1.352, allocations: 219.7 kB / 1.01 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007039/1.352, allocations: 160.1 kB / 1.01 GB, free: 10.68 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.003999/1.356, allocations: 1.995 MB / 1.012 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.357, allocations: 409.5 kB / 1.012 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02888/1.386, allocations: 12.23 MB / 1.024 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.428e-05/1.386, allocations: 44 kB / 1.024 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001637/1.387, allocations: 51.94 kB / 1.024 GB, free: 12.05 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-05/1.387, allocations: 19.92 kB / 1.024 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04196/1.429, allocations: 19.15 MB / 1.043 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/1.429, allocations: 8.938 kB / 1.043 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.43, allocations: 285.9 kB / 1.043 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02151/1.452, allocations: 5.577 MB / 1.049 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000962/1.453, allocations: 83.98 kB / 1.049 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3801/1.833, allocations: 70.66 MB / 1.118 GB, free: 258.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.833, allocations: 19.36 kB / 1.118 GB, free: 258.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02992/1.863, allocations: 15.63 MB / 1.133 GB, free: 251.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003599/1.867, allocations: 1.068 MB / 1.134 GB, free: 250.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/1.868, allocations: 80 kB / 1.134 GB, free: 250.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003259/1.871, allocations: 219.7 kB / 1.134 GB, free: 249.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001496/1.873, allocations: 406.8 kB / 1.135 GB, free: 249.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003554/1.873, allocations: 109.9 kB / 1.135 GB, free: 249.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00196/1.875, allocations: 1.556 MB / 1.136 GB, free: 247.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.875, allocations: 0 / 1.136 GB, free: 247.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007501/1.883, allocations: 1.867 MB / 1.138 GB, free: 245.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.02909/1.912, allocations: 16.3 MB / 1.154 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0236/1.935, allocations: 12.24 MB / 1.166 GB, free: 216.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/1.936, allocations: 4 kB / 1.166 GB, free: 216.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01865/1.954, allocations: 8.387 MB / 1.174 GB, free: 208.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/1.964, allocations: 1.193 MB / 1.175 GB, free: 207.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1115/2.076, allocations: 54.06 MB / 1.228 GB, free: 151.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004907/2.081, allocations: 4.087 MB / 1.232 GB, free: 147.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002369/2.083, allocations: 0.6591 MB / 1.233 GB, free: 146.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00246/2.086, allocations: 2.128 MB / 1.235 GB, free: 144.6 MB / 0.8106 GB Notification: Performance of SimCode: time 9.92e-07/2.086, allocations: 4 kB / 1.235 GB, free: 144.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5589/2.645, allocations: 150.9 MB / 1.382 GB, free: 289.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.99/21.64, allocations: 5.938 kB / 1.382 GB, free: 289.7 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)