Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001108/0.001108, allocations: 101.4 kB / 15.7 MB, free: 0 / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 189.6 kB / 16.64 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 68.98 kB / 0.6718 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2017, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02917/0.2309, allocations: 26.59 MB / 0.8096 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.2441, allocations: 8.114 MB / 0.8175 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.2464, allocations: 119.4 kB / 0.8177 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006296/0.2527, allocations: 2.756 MB / 0.8203 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.2573, allocations: 1.589 MB / 0.8219 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.2614, allocations: 1.67 MB / 0.8235 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007562/0.2689, allocations: 6.146 MB / 0.8295 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007967/0.2769, allocations: 7.417 MB / 0.8368 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.2807, allocations: 2.57 MB / 0.8393 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003936/0.2847, allocations: 2.835 MB / 0.8421 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008882/0.2856, allocations: 0.5078 MB / 0.8425 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.288, allocations: 1.279 MB / 0.8438 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.29, allocations: 2.054 MB / 0.8458 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002852/0.2928, allocations: 2.377 MB / 0.8481 GB, free: 10.94 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007859/0.3007, allocations: 8.051 MB / 0.856 GB, free: 2.863 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3007, allocations: 0 / 0.856 GB, free: 2.863 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3008, allocations: 4 kB / 0.856 GB, free: 2.859 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001922/0.301, allocations: 0 / 0.856 GB, free: 2.859 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008732/0.3097, allocations: 4.235 MB / 0.8601 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3097, allocations: 12.03 kB / 0.8601 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007538/0.3105, allocations: 0.5343 MB / 0.8607 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00428/0.3148, allocations: 0.7962 MB / 0.8614 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00555/0.3204, allocations: 2.577 MB / 0.864 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3206, allocations: 275.6 kB / 0.8642 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009737/0.3216, allocations: 380.3 kB / 0.8646 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.3325, allocations: 5.996 MB / 0.8704 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/0.3327, allocations: 19.78 kB / 0.8705 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000741/0.3335, allocations: 159.9 kB / 0.8706 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006088/0.3341, allocations: 290.9 kB / 0.8709 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008321/0.3424, allocations: 4.516 MB / 0.8753 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02978/0.3722, allocations: 27.46 MB / 0.9021 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.3739, allocations: 1.114 MB / 0.9032 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.3753, allocations: 1.019 MB / 0.9042 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-05/0.3754, allocations: 13 kB / 0.9042 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.3754, allocations: 51.5 kB / 0.9043 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 4.188e-06/0.3754, allocations: 3.984 kB / 0.9043 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.02202/0.3975, allocations: 9.673 MB / 0.9137 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3975, allocations: 64.72 kB / 0.9138 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.3998, allocations: 1.49 MB / 0.9152 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.4, allocations: 49.7 kB / 0.9153 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.4011, allocations: 1.663 MB / 0.9169 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.4015, allocations: 473.3 kB / 0.9173 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005258/0.4021, allocations: 327.2 kB / 0.9177 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.4022, allocations: 309.1 kB / 0.9179 GB, free: 228 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4048/0.807, allocations: 0.9191 MB / 0.9188 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.8093, allocations: 1.455 MB / 0.9203 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004234/0.8135, allocations: 2.552 MB / 0.9228 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.8136, allocations: 4.938 kB / 0.9228 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006382/0.82, allocations: 3.29 MB / 0.926 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.8201, allocations: 12.81 kB / 0.926 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.8201, allocations: 18.91 kB / 0.926 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/0.8223, allocations: 0.7311 MB / 0.9267 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.8238, allocations: 391.2 kB / 0.9271 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/0.8393, allocations: 17.03 MB / 0.9437 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.8414, allocations: 99.02 kB / 0.9438 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.8416, allocations: 75.11 kB / 0.9439 GB, free: 108.8 MB / 0.7325 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002582/0.8442, allocations: 1.311 MB / 0.9452 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004495/0.8446, allocations: 206.1 kB / 0.9454 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/0.85, allocations: 2.784 MB / 0.9481 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/0.85, allocations: 13.7 kB / 0.9481 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.971e-05/0.8501, allocations: 10.59 kB / 0.9481 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.8501, allocations: 6.781 kB / 0.9481 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.8635, allocations: 6.214 MB / 0.9542 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.8635, allocations: 5.844 kB / 0.9542 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.8647, allocations: 233.4 kB / 0.9544 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001907/0.8667, allocations: 0.6778 MB / 0.9551 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.8668, allocations: 36.7 kB / 0.9551 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/0.8797, allocations: 16.79 MB / 0.9715 GB, free: 89.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.8798, allocations: 5.344 kB / 0.9715 GB, free: 89.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00667/0.8865, allocations: 4.003 MB / 0.9754 GB, free: 87.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.8875, allocations: 464 kB / 0.9759 GB, free: 87.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005074/0.8881, allocations: 29.33 kB / 0.9759 GB, free: 87.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.8893, allocations: 87.2 kB / 0.976 GB, free: 87.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/0.8897, allocations: 111.9 kB / 0.9761 GB, free: 87.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.687e-05/0.8898, allocations: 43.66 kB / 0.9761 GB, free: 87.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001652/0.8915, allocations: 0.9939 MB / 0.9771 GB, free: 86.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8915, allocations: 7.938 kB / 0.9771 GB, free: 86.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003237/0.8947, allocations: 0.6848 MB / 0.9778 GB, free: 86.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006147/0.9009, allocations: 4.597 MB / 0.9823 GB, free: 83.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005353/0.9063, allocations: 3.528 MB / 0.9857 GB, free: 81.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.9063, allocations: 0 / 0.9857 GB, free: 81.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002843/0.9092, allocations: 2.292 MB / 0.9879 GB, free: 79.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/0.9126, allocations: 0.674 MB / 0.9886 GB, free: 79.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/0.944, allocations: 21.14 MB / 1.009 GB, free: 58.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/0.9474, allocations: 2.664 MB / 1.012 GB, free: 55.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001541/0.9489, allocations: 481.4 kB / 1.012 GB, free: 55.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/0.9504, allocations: 1.284 MB / 1.014 GB, free: 54.11 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/0.9504, allocations: 0 / 1.014 GB, free: 54.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09338/1.044, allocations: 56.31 MB / 1.069 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.22, allocations: 10.22 kB / 1.069 GB, free: 14.55 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)