Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.429/2.43, allocations: 287.9 MB / 302.9 MB, free: 8.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 169.2 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001747/0.001747, allocations: 97.06 kB / 0.7434 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004701, allocations: 11.25 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1578, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03724/0.1951, allocations: 32.63 MB / 1.011 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02557/0.2207, allocations: 12.53 MB / 1.023 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003838/0.2246, allocations: 139.1 kB / 1.023 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003001/0.2276, allocations: 0.7374 MB / 1.024 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007611/0.2352, allocations: 1.877 MB / 1.026 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006628/0.2419, allocations: 1.647 MB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009893/0.2518, allocations: 4.825 MB / 1.032 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02488/0.2768, allocations: 11.41 MB / 1.043 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006008/0.2828, allocations: 2.612 MB / 1.046 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005642/0.2885, allocations: 2.667 MB / 1.048 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.2901, allocations: 320 kB / 1.048 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.2933, allocations: 0.6556 MB / 1.049 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004263/0.2976, allocations: 2.237 MB / 1.051 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00291/0.3006, allocations: 1.178 MB / 1.052 GB, free: 444 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.3146, allocations: 9.572 MB / 1.062 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.154e-06/0.3147, allocations: 0 / 1.062 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.536e-06/0.3147, allocations: 0 / 1.062 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000246/0.3149, allocations: 3.938 kB / 1.062 GB, free: 6.832 MB / 0.6823 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.01436/0.3293, allocations: 5.158 MB / 1.067 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3294, allocations: 12.02 kB / 1.067 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009942/0.3393, allocations: 1.288 MB / 1.068 GB, free: 300 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6556/0.995, allocations: 3.462 MB / 1.071 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004633/0.9955, allocations: 380.1 kB / 1.072 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.9972, allocations: 0.4986 MB / 1.072 GB, free: 78.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02351/1.021, allocations: 8.801 MB / 1.081 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002662/1.021, allocations: 26.94 kB / 1.081 GB, free: 74.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/1.022, allocations: 220.6 kB / 1.081 GB, free: 74.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002674/1.025, allocations: 0.6326 MB / 1.082 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/1.044, allocations: 6.974 MB / 1.089 GB, free: 71.72 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0629/1.107, allocations: 40.4 MB / 1.128 GB, free: 37.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009548/1.117, allocations: 2.888 MB / 1.131 GB, free: 35.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004351/1.117, allocations: 27.84 kB / 1.131 GB, free: 35.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.817e-05/1.117, allocations: 68.56 kB / 1.131 GB, free: 35.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=265): time 1.365e-05/1.117, allocations: 3.938 kB / 1.131 GB, free: 35.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=424): time 0.4712/1.588, allocations: 77.41 MB / 1.207 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/1.589, allocations: 94.73 kB / 1.207 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/1.593, allocations: 2.328 MB / 1.209 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007565/1.594, allocations: 97.7 kB / 1.209 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002305/1.596, allocations: 2.338 MB / 1.211 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002218/1.598, allocations: 1.433 MB / 1.213 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004599/1.599, allocations: 88 kB / 1.213 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004056/1.599, allocations: 479.3 kB / 1.213 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00685/1.606, allocations: 2.987 MB / 1.216 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008061/1.614, allocations: 3.806 MB / 1.22 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008043/1.622, allocations: 3.556 MB / 1.223 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/1.622, allocations: 4 kB / 1.223 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.1091/1.731, allocations: 12.5 MB / 1.236 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/1.731, allocations: 12 kB / 1.236 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-05/1.732, allocations: 43.53 kB / 1.236 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05768/1.789, allocations: 6.004 MB / 1.241 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00521/1.795, allocations: 0.4952 MB / 1.242 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1345/1.929, allocations: 69.28 MB / 1.31 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007553/1.937, allocations: 215.8 kB / 1.31 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.938, allocations: 156.1 kB / 1.31 GB, free: 14.98 MB / 0.8386 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.007001/1.945, allocations: 1.988 MB / 1.312 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/1.947, allocations: 391.7 kB / 1.312 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03769/1.984, allocations: 12.18 MB / 1.324 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.336e-05/1.984, allocations: 43.98 kB / 1.324 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001397/1.985, allocations: 52 kB / 1.324 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-05/1.985, allocations: 19.92 kB / 1.324 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05441/2.039, allocations: 19.12 MB / 1.343 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.275e-05/2.039, allocations: 8 kB / 1.343 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/2.041, allocations: 283.6 kB / 1.343 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0288/2.07, allocations: 5.566 MB / 1.349 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008326/2.071, allocations: 83.98 kB / 1.349 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1199/2.191, allocations: 66.91 MB / 1.414 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-05/2.191, allocations: 8 kB / 1.414 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5837/2.774, allocations: 16.2 MB / 1.43 GB, free: 295.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003142/2.778, allocations: 1.05 MB / 1.431 GB, free: 295.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/2.779, allocations: 83.83 kB / 1.431 GB, free: 295.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/2.783, allocations: 219.9 kB / 1.431 GB, free: 295.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001779/2.784, allocations: 395.1 kB / 1.432 GB, free: 295.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005124/2.785, allocations: 109.5 kB / 1.432 GB, free: 295.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003248/2.788, allocations: 1.531 MB / 1.433 GB, free: 295.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.23e-07/2.788, allocations: 2.531 kB / 1.433 GB, free: 295.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008127/2.796, allocations: 1.846 MB / 1.435 GB, free: 295.1 MB / 0.9323 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.001027/2.797, allocations: 218.6 kB / 1.435 GB, free: 295 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02675/2.824, allocations: 12.19 MB / 1.447 GB, free: 289 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/2.824, allocations: 3.938 kB / 1.447 GB, free: 289 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01966/2.844, allocations: 8.377 MB / 1.455 GB, free: 284.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006234/2.85, allocations: 1.04 MB / 1.456 GB, free: 283.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03581/2.886, allocations: 14.26 MB / 1.47 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/2.899, allocations: 4.197 MB / 1.474 GB, free: 275 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.007407/2.906, allocations: 0.6699 MB / 1.475 GB, free: 274.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/2.908, allocations: 174.2 kB / 1.475 GB, free: 274.8 MB / 0.9323 GB Notification: Performance of SimCode: time 3.075e-06/2.908, allocations: 0 / 1.475 GB, free: 274.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.2025/3.111, allocations: 102.5 MB / 1.575 GB, free: 186.7 MB / 0.9323 GB