Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001198/0.001198, allocations: 108 kB / 16.41 MB, free: 6.039 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.001272/0.001272, allocations: 191.9 kB / 17.34 MB, free: 5.629 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7564/0.7564, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 66.64 kB / 0.568 GB, free: 29.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1532, allocations: 77.92 MB / 0.6441 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.034/0.1872, allocations: 30.75 MB / 0.6741 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02148/0.2087, allocations: 13.59 MB / 0.6874 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.2119, allocations: 139.3 kB / 0.6875 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00842/0.2203, allocations: 3.199 MB / 0.6906 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008045/0.2284, allocations: 2.762 MB / 0.6933 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005429/0.2339, allocations: 2.018 MB / 0.6953 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.2441, allocations: 7.629 MB / 0.7028 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.2547, allocations: 8.236 MB / 0.7108 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/0.2606, allocations: 3.463 MB / 0.7142 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005317/0.266, allocations: 3.383 MB / 0.7175 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.2677, allocations: 0.5977 MB / 0.7181 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.2714, allocations: 1.49 MB / 0.7195 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002971/0.2744, allocations: 2.362 MB / 0.7218 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0045/0.2789, allocations: 2.89 MB / 0.7246 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.2897, allocations: 9.492 MB / 0.7339 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2897, allocations: 3.938 kB / 0.7339 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2897, allocations: 0 / 0.7339 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002579/0.29, allocations: 0 / 0.7339 GB, free: 13.21 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01243/0.3025, allocations: 5.272 MB / 0.7391 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3025, allocations: 8.625 kB / 0.7391 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001489/0.304, allocations: 0.6203 MB / 0.7397 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006548/0.3106, allocations: 1.02 MB / 0.7407 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007598/0.3182, allocations: 3.093 MB / 0.7437 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.3185, allocations: 320.8 kB / 0.744 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/0.3199, allocations: 419.9 kB / 0.7444 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3542/0.6741, allocations: 6.785 MB / 0.751 GB, free: 87.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/0.6743, allocations: 27.59 kB / 0.7511 GB, free: 87.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004882/0.6748, allocations: 178.5 kB / 0.7512 GB, free: 86.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/0.6758, allocations: 373 kB / 0.7516 GB, free: 86.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.686, allocations: 5.113 MB / 0.7566 GB, free: 85.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03044/0.7165, allocations: 30.57 MB / 0.7864 GB, free: 59.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.7184, allocations: 1.391 MB / 0.7878 GB, free: 58.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.7199, allocations: 1.33 MB / 0.7891 GB, free: 57.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-05/0.72, allocations: 13.16 kB / 0.7891 GB, free: 57.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.7201, allocations: 51.75 kB / 0.7892 GB, free: 57.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 3.687e-06/0.7201, allocations: 0 / 0.7892 GB, free: 57.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.1096/0.8296, allocations: 23.16 MB / 0.8118 GB, free: 39.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8297, allocations: 73.41 kB / 0.8118 GB, free: 39.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.8325, allocations: 2.059 MB / 0.8138 GB, free: 37.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003363/0.8328, allocations: 57.7 kB / 0.8139 GB, free: 37.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008742/0.8337, allocations: 2.07 MB / 0.8159 GB, free: 35.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/0.8343, allocations: 0.7075 MB / 0.8166 GB, free: 35.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007854/0.8351, allocations: 420.3 kB / 0.817 GB, free: 34.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.8352, allocations: 305.1 kB / 0.8173 GB, free: 34.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.8369, allocations: 1.431 MB / 0.8187 GB, free: 32.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.8388, allocations: 2.018 MB / 0.8207 GB, free: 30.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.8428, allocations: 3.688 MB / 0.8243 GB, free: 26.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.8428, allocations: 4 kB / 0.8243 GB, free: 26.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009996/0.8528, allocations: 5.674 MB / 0.8298 GB, free: 20.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.8529, allocations: 12 kB / 0.8298 GB, free: 20.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.8529, allocations: 16 kB / 0.8299 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006267/0.8592, allocations: 2.091 MB / 0.8319 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.8608, allocations: 375.4 kB / 0.8323 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03667/0.8975, allocations: 38.47 MB / 0.8698 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.9001, allocations: 123.9 kB / 0.8699 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/0.9005, allocations: 91.98 kB / 0.87 GB, free: 9.293 MB / 0.6075 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.003121/0.9037, allocations: 1.505 MB / 0.8715 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009532/0.9046, allocations: 298.2 kB / 0.8718 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.9161, allocations: 5.219 MB / 0.8769 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.9162, allocations: 20.28 kB / 0.8769 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.298e-05/0.9163, allocations: 20 kB / 0.8769 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/0.9163, allocations: 11.95 kB / 0.8769 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/0.9376, allocations: 9.671 MB / 0.8864 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/0.9377, allocations: 14.41 kB / 0.8864 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.9388, allocations: 215.6 kB / 0.8866 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006401/0.9452, allocations: 1.833 MB / 0.8884 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/0.9456, allocations: 44 kB / 0.8884 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0425/0.9881, allocations: 37.47 MB / 0.925 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.9881, allocations: 7.938 kB / 0.925 GB, free: 14.19 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009809/0.9979, allocations: 4.926 MB / 0.9298 GB, free: 9.109 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.9995, allocations: 0.6279 MB / 0.9304 GB, free: 8.461 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005922/1, allocations: 47.92 kB / 0.9305 GB, free: 8.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.002, allocations: 127.8 kB / 0.9306 GB, free: 8.289 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005652/1.002, allocations: 197.4 kB / 0.9308 GB, free: 8.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.003, allocations: 56 kB / 0.9308 GB, free: 8.047 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002163/1.005, allocations: 1.378 MB / 0.9322 GB, free: 6.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/1.005, allocations: 4 kB / 0.9322 GB, free: 6.656 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003421/1.008, allocations: 1.047 MB / 0.9332 GB, free: 5.609 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009556/1.018, allocations: 5.548 MB / 0.9386 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.028, allocations: 6.299 MB / 0.9448 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.028, allocations: 0 / 0.9448 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006924/1.035, allocations: 4.422 MB / 0.9491 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004873/1.04, allocations: 0.9846 MB / 0.9501 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06032/1.1, allocations: 30.79 MB / 0.9801 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005195/1.105, allocations: 3.128 MB / 0.9832 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002063/1.108, allocations: 0.516 MB / 0.9837 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002845/1.11, allocations: 1.684 MB / 0.9853 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of SimCode: time 2.194e-06/1.11, allocations: 0 / 0.9853 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5278/1.638, allocations: 88.07 MB / 1.071 GB, free: 246.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.95, allocations: 15.02 kB / 1.071 GB, free: 246.7 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)