Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.406/2.406, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 179.7 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.478/2.478, allocations: 205.4 MB / 0.5766 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 96.64 kB / 0.6811 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.000505, allocations: 12.62 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2496, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04867/0.2983, allocations: 32.64 MB / 0.9308 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.3254, allocations: 12.54 MB / 0.943 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004174/0.3296, allocations: 139.1 kB / 0.9431 GB, free: 20.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003457/0.3331, allocations: 0.7375 MB / 0.9439 GB, free: 19.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008162/0.3413, allocations: 1.885 MB / 0.9457 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007349/0.3487, allocations: 1.638 MB / 0.9473 GB, free: 16.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.3594, allocations: 4.825 MB / 0.952 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02513/0.3846, allocations: 11.42 MB / 0.9632 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00736/0.392, allocations: 2.612 MB / 0.9657 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007309/0.3994, allocations: 2.67 MB / 0.9683 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002213/0.4016, allocations: 324 kB / 0.9686 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004438/0.4061, allocations: 0.6517 MB / 0.9693 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.005363/0.4115, allocations: 2.241 MB / 0.9715 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003412/0.415, allocations: 1.175 MB / 0.9726 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.4313, allocations: 9.576 MB / 0.982 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4314, allocations: 0 / 0.982 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.596e-06/0.4314, allocations: 0 / 0.982 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004346/0.4318, allocations: 0 / 0.982 GB, free: 12.62 MB / 0.6355 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.0207/0.4526, allocations: 5.158 MB / 0.987 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.4526, allocations: 8.031 kB / 0.987 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/0.4659, allocations: 1.285 MB / 0.9883 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.4774, allocations: 3.471 MB / 0.9916 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005343/0.478, allocations: 382.1 kB / 0.992 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/0.4803, allocations: 0.492 MB / 0.9925 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02665/0.507, allocations: 8.804 MB / 1.001 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000282/0.5073, allocations: 27.78 kB / 1.001 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001542/0.5089, allocations: 219.9 kB / 1.001 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003959/0.5129, allocations: 0.6304 MB / 1.002 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02235/0.5352, allocations: 6.983 MB / 1.009 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07554/0.6108, allocations: 40.38 MB / 1.048 GB, free: 5.031 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007265/0.6182, allocations: 2.882 MB / 1.051 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/0.6186, allocations: 34.03 kB / 1.051 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.748e-05/0.6187, allocations: 68.59 kB / 1.051 GB, free: 2.027 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 9.207e-06/0.6187, allocations: 4 kB / 1.051 GB, free: 2.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 1.164/1.782, allocations: 77.41 MB / 1.127 GB, free: 90.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/1.783, allocations: 94.73 kB / 1.127 GB, free: 89.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004739/1.787, allocations: 2.328 MB / 1.129 GB, free: 87.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001201/1.789, allocations: 97.7 kB / 1.129 GB, free: 87.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.79, allocations: 2.332 MB / 1.131 GB, free: 85.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002516/1.793, allocations: 1.442 MB / 1.133 GB, free: 83.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007692/1.794, allocations: 84 kB / 1.133 GB, free: 83.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00029/1.794, allocations: 483.3 kB / 1.133 GB, free: 83.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007819/1.802, allocations: 2.987 MB / 1.136 GB, free: 80.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008613/1.811, allocations: 3.808 MB / 1.14 GB, free: 75.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00896/1.82, allocations: 3.552 MB / 1.143 GB, free: 72.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-05/1.82, allocations: 8 kB / 1.143 GB, free: 72.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.05011/1.87, allocations: 12.49 MB / 1.156 GB, free: 59.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/1.87, allocations: 25.17 kB / 1.156 GB, free: 59.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.644e-05/1.87, allocations: 20.69 kB / 1.156 GB, free: 59.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04002/1.91, allocations: 6.016 MB / 1.162 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/1.914, allocations: 499.1 kB / 1.162 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1847/2.099, allocations: 69.28 MB / 1.23 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/2.11, allocations: 219.7 kB / 1.23 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001576/2.112, allocations: 156.1 kB / 1.23 GB, free: 12.46 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006982/2.119, allocations: 1.992 MB / 1.232 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/2.12, allocations: 391.4 kB / 1.232 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05588/2.176, allocations: 12.18 MB / 1.244 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.209e-05/2.176, allocations: 44 kB / 1.244 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002128/2.177, allocations: 48 kB / 1.244 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/2.177, allocations: 19.92 kB / 1.244 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08188/2.259, allocations: 19.12 MB / 1.263 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.991e-05/2.259, allocations: 8.562 kB / 1.263 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/2.262, allocations: 287.5 kB / 1.263 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03931/2.301, allocations: 5.572 MB / 1.269 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009264/2.302, allocations: 83.98 kB / 1.269 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1417/2.444, allocations: 66.91 MB / 1.334 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.727e-05/2.444, allocations: 11.94 kB / 1.334 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0598/2.504, allocations: 16.21 MB / 1.35 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004117/2.508, allocations: 1.043 MB / 1.351 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/2.51, allocations: 83.98 kB / 1.351 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005182/2.515, allocations: 215.7 kB / 1.351 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002503/2.517, allocations: 402.3 kB / 1.352 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007818/2.518, allocations: 108 kB / 1.352 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003926/2.522, allocations: 1.529 MB / 1.353 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.385e-06/2.522, allocations: 3.938 kB / 1.353 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01031/2.532, allocations: 1.852 MB / 1.355 GB, free: 8.379 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/2.534, allocations: 222.6 kB / 1.355 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03816/2.572, allocations: 12.17 MB / 1.367 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/2.572, allocations: 0 / 1.367 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02733/2.6, allocations: 8.381 MB / 1.375 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008717/2.608, allocations: 1.046 MB / 1.376 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6575/3.266, allocations: 14.24 MB / 1.39 GB, free: 268.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01493/3.281, allocations: 4.189 MB / 1.394 GB, free: 268 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006575/3.288, allocations: 0.6695 MB / 1.395 GB, free: 267.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/3.289, allocations: 181.5 kB / 1.395 GB, free: 267.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.492e-06/3.289, allocations: 0 / 1.395 GB, free: 267.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.3013/3.591, allocations: 102.4 MB / 1.495 GB, free: 198.2 MB / 0.8698 GB