Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.008664/0.008663, allocations: 107.8 kB / 15.7 MB, free: 5.574 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.001992/0.001992, allocations: 194.5 kB / 16.64 MB, free: 5.52 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.366/1.366, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.645/1.645, 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.00132/0.00132, allocations: 67.67 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2289, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04525/0.2742, allocations: 41.12 MB / 0.8238 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02334/0.2976, allocations: 15.09 MB / 0.8385 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004416/0.3021, allocations: 187.1 kB / 0.8387 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01116/0.3133, allocations: 4.462 MB / 0.8431 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008194/0.3215, allocations: 2.782 MB / 0.8458 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008804/0.3303, allocations: 3.168 MB / 0.8489 GB, free: 10.26 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.017/0.3473, allocations: 11.4 MB / 0.86 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01744/0.3648, allocations: 12.64 MB / 0.8724 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01049/0.3754, allocations: 4.81 MB / 0.8771 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.3855, allocations: 5.394 MB / 0.8823 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003154/0.3886, allocations: 0.9531 MB / 0.8833 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005842/0.3945, allocations: 2.04 MB / 0.8852 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005643/0.4002, allocations: 3.695 MB / 0.8889 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009473/0.4097, allocations: 4.291 MB / 0.893 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4754/0.8851, allocations: 14.27 MB / 0.907 GB, free: 44.14 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.8851, allocations: 0.9688 kB / 0.907 GB, free: 44.14 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8851, allocations: 0 / 0.907 GB, free: 44.14 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004838/0.8856, allocations: 0 / 0.907 GB, free: 44.14 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02604/0.9117, allocations: 7.615 MB / 0.9144 GB, free: 41.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.9117, allocations: 8.469 kB / 0.9144 GB, free: 41.68 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003549/0.9153, allocations: 0.8925 MB / 0.9153 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.9276, allocations: 1.521 MB / 0.9168 GB, free: 41.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.9414, allocations: 4.44 MB / 0.9211 GB, free: 40.33 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006313/0.9421, allocations: 452.4 kB / 0.9216 GB, free: 40.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003454/0.9456, allocations: 0.5993 MB / 0.9221 GB, free: 40.31 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/0.9753, allocations: 10.68 MB / 0.9326 GB, free: 39.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005484/0.9759, allocations: 27 kB / 0.9326 GB, free: 39.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002853/0.9787, allocations: 262.6 kB / 0.9328 GB, free: 39.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003346/0.9821, allocations: 0.7735 MB / 0.9336 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/1.003, allocations: 8.565 MB / 0.942 GB, free: 39.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06094/1.064, allocations: 46.54 MB / 0.9874 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005876/1.07, allocations: 4.305 MB / 0.9916 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005934/1.076, allocations: 3.707 MB / 0.9952 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005006/1.077, allocations: 36.59 kB / 0.9953 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.624e-05/1.077, allocations: 76.41 kB / 0.9953 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 6.642e-06/1.077, allocations: 0 / 0.9953 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.5325/1.609, allocations: 122.7 MB / 1.115 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.609, allocations: 111.3 kB / 1.115 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005137/1.614, allocations: 2.685 MB / 1.118 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0014/1.616, allocations: 125.7 kB / 1.118 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002146/1.618, allocations: 2.674 MB / 1.121 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00291/1.621, allocations: 1.953 MB / 1.123 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00372/1.625, allocations: 0.9248 MB / 1.123 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.625, allocations: 305.1 kB / 1.124 GB, free: 216 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006984/1.632, allocations: 4.083 MB / 1.128 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007948/1.64, allocations: 5.016 MB / 1.133 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01628/1.656, allocations: 9.844 MB / 1.142 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-05/1.656, allocations: 8 kB / 1.142 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04295/1.699, allocations: 17 MB / 1.159 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/1.699, allocations: 16 kB / 1.159 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/1.699, allocations: 26.17 kB / 1.159 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03193/1.731, allocations: 9.085 MB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/1.734, allocations: 0.5215 MB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1081/1.842, allocations: 76.95 MB / 1.243 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005503/1.847, allocations: 283.9 kB / 1.244 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.849, allocations: 188 kB / 1.244 GB, free: 3.441 MB / 0.9669 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0055/1.854, allocations: 2.424 MB / 1.246 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/1.856, allocations: 470.5 kB / 1.247 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03769/1.893, allocations: 16.84 MB / 1.263 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/1.893, allocations: 52 kB / 1.263 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001907/1.894, allocations: 72 kB / 1.263 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/1.894, allocations: 27.89 kB / 1.263 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.471/2.365, allocations: 25.66 MB / 1.288 GB, free: 363.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-05/2.365, allocations: 5.906 kB / 1.288 GB, free: 363.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/2.367, allocations: 322.2 kB / 1.289 GB, free: 363.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02932/2.396, allocations: 8.274 MB / 1.297 GB, free: 363.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/2.397, allocations: 108.5 kB / 1.297 GB, free: 363.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0875/2.485, allocations: 73.82 MB / 1.369 GB, free: 321.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/2.485, allocations: 11.94 kB / 1.369 GB, free: 321.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03751/2.522, allocations: 21.57 MB / 1.39 GB, free: 299.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003729/2.526, allocations: 1.362 MB / 1.391 GB, free: 298.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/2.528, allocations: 107.9 kB / 1.391 GB, free: 298.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004442/2.532, allocations: 289.1 kB / 1.392 GB, free: 298.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001987/2.534, allocations: 0.5242 MB / 1.392 GB, free: 297.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004625/2.535, allocations: 144 kB / 1.392 GB, free: 297.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002234/2.537, allocations: 1.776 MB / 1.394 GB, free: 295.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/2.537, allocations: 0 / 1.394 GB, free: 295.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00855/2.545, allocations: 2.469 MB / 1.397 GB, free: 293.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0373/2.583, allocations: 22.26 MB / 1.418 GB, free: 270.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02287/2.606, allocations: 14.53 MB / 1.432 GB, free: 255.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/2.606, allocations: 4 kB / 1.432 GB, free: 255.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0166/2.622, allocations: 9.356 MB / 1.442 GB, free: 246.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008114/2.63, allocations: 1.38 MB / 1.443 GB, free: 245 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1341/2.765, allocations: 70.17 MB / 1.511 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006902/2.772, allocations: 4.897 MB / 1.516 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002943/2.775, allocations: 0.7449 MB / 1.517 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003063/2.778, allocations: 2.608 MB / 1.52 GB, free: 165 MB / 0.9981 GB Notification: Performance of SimCode: time 1.202e-06/2.778, allocations: 0 / 1.52 GB, free: 165 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.719/3.497, allocations: 194.1 MB / 1.709 GB, free: 350.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.4/23.9, allocations: 15.55 kB / 1.709 GB, free: 350.9 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)