Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001285/0.001285, allocations: 101.8 kB / 16.27 MB, free: 5.93 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.001219/0.001219, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7479/0.7479, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.89 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3365, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03135/0.3679, allocations: 35.11 MB / 0.6016 GB, free: 7.457 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.3835, allocations: 9.937 MB / 0.6113 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004309/0.3879, allocations: 143.3 kB / 0.6114 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.398, allocations: 3.807 MB / 0.6151 GB, free: 9.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006195/0.4042, allocations: 2.032 MB / 0.6171 GB, free: 7.562 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00517/0.4094, allocations: 1.963 MB / 0.619 GB, free: 5.613 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009027/0.4184, allocations: 7.98 MB / 0.6268 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01219/0.4306, allocations: 9.585 MB / 0.6362 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005986/0.4367, allocations: 3.361 MB / 0.6395 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007141/0.4438, allocations: 3.738 MB / 0.6431 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003332/0.4472, allocations: 0.6797 MB / 0.6438 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0054/0.4526, allocations: 1.443 MB / 0.6452 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005542/0.4582, allocations: 2.616 MB / 0.6478 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008383/0.4666, allocations: 3.104 MB / 0.6508 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4795, allocations: 10.31 MB / 0.6609 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4796, allocations: 0 / 0.6609 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4796, allocations: 3.938 kB / 0.6609 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003227/0.4799, allocations: 0 / 0.6609 GB, free: 10.61 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01395/0.4939, allocations: 5.402 MB / 0.6661 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4939, allocations: 8.625 kB / 0.6661 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002035/0.496, allocations: 0.7101 MB / 0.6668 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/0.5017, allocations: 0.9587 MB / 0.6678 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006253/0.5079, allocations: 2.991 MB / 0.6707 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/0.5083, allocations: 357.9 kB / 0.671 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/0.5099, allocations: 476.2 kB / 0.6715 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.5283, allocations: 7.914 MB / 0.6792 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/0.5285, allocations: 19.81 kB / 0.6792 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.5297, allocations: 208 kB / 0.6794 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005433/0.5303, allocations: 365.1 kB / 0.6798 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.5414, allocations: 5.937 MB / 0.6856 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0366/0.578, allocations: 36.21 MB / 0.7209 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/0.5814, allocations: 2.142 MB / 0.723 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.5834, allocations: 1.48 MB / 0.7245 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-05/0.5835, allocations: 21.25 kB / 0.7245 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.5836, allocations: 55.81 kB / 0.7246 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 4.008e-06/0.5836, allocations: 0 / 0.7246 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01355/0.5971, allocations: 7.529 MB / 0.7319 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.5972, allocations: 68.72 kB / 0.732 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.5999, allocations: 1.864 MB / 0.7338 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.6, allocations: 57.7 kB / 0.7338 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.6015, allocations: 2.123 MB / 0.7359 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004707/0.602, allocations: 0.5546 MB / 0.7365 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006345/0.6026, allocations: 403.7 kB / 0.7368 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.6027, allocations: 305.1 kB / 0.7371 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.6042, allocations: 1.058 MB / 0.7382 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.6062, allocations: 1.768 MB / 0.7399 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.6099, allocations: 3.052 MB / 0.7429 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.6099, allocations: 8 kB / 0.7429 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.3122/0.9222, allocations: 3.916 MB / 0.7467 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.9223, allocations: 14.41 kB / 0.7467 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.515e-05/0.9223, allocations: 26.02 kB / 0.7467 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.9252, allocations: 0.9315 MB / 0.7477 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.9271, allocations: 430.1 kB / 0.7481 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.9474, allocations: 22.78 MB / 0.7703 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/0.9498, allocations: 124.8 kB / 0.7704 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.95, allocations: 93.17 kB / 0.7705 GB, free: 132.8 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.002994/0.953, allocations: 1.652 MB / 0.7721 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/0.9536, allocations: 253.8 kB / 0.7724 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/0.9588, allocations: 3.263 MB / 0.7756 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.9588, allocations: 15.72 kB / 0.7756 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.9588, allocations: 16.19 kB / 0.7756 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.9588, allocations: 7.641 kB / 0.7756 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.9702, allocations: 7.538 MB / 0.783 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.9702, allocations: 4.594 kB / 0.783 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009174/0.9712, allocations: 217.9 kB / 0.7832 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/0.9733, allocations: 0.9049 MB / 0.7841 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.9735, allocations: 34.77 kB / 0.7841 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.9882, allocations: 22.73 MB / 0.8063 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.9882, allocations: 7.906 kB / 0.8063 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/0.9929, allocations: 3.377 MB / 0.8096 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009858/0.9939, allocations: 0.5404 MB / 0.8101 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.9942, allocations: 33 kB / 0.8102 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.9952, allocations: 90.52 kB / 0.8102 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/0.9956, allocations: 145.5 kB / 0.8104 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.9957, allocations: 48.56 kB / 0.8104 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00145/0.9972, allocations: 1.224 MB / 0.8116 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9972, allocations: 0 / 0.8116 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002671/0.9998, allocations: 0.9062 MB / 0.8125 GB, free: 102 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004128/1.004, allocations: 3.987 MB / 0.8164 GB, free: 97.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006657/1.011, allocations: 5.201 MB / 0.8215 GB, free: 92.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.011, allocations: 4 kB / 0.8215 GB, free: 92.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00336/1.014, allocations: 2.99 MB / 0.8244 GB, free: 89.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.017, allocations: 0.8177 MB / 0.8252 GB, free: 88.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03169/1.049, allocations: 27.55 MB / 0.8521 GB, free: 58.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002667/1.052, allocations: 3.201 MB / 0.8552 GB, free: 55.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00188/1.054, allocations: 0.5293 MB / 0.8558 GB, free: 55.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.055, allocations: 1.651 MB / 0.8574 GB, free: 53.38 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/1.055, allocations: 0 / 0.8574 GB, free: 53.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/1.179, allocations: 70.85 MB / 0.9266 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.41, allocations: 14.34 kB / 0.9266 GB, free: 15.36 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)