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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.801/2.801, allocations: 287.9 MB / 302.9 MB, free: 8.242 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.001419/0.001419, allocations: 188.1 kB / 371.4 MB, free: 10.66 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.077/2.077, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001048/0.001048, allocations: 105.8 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004609, allocations: 15.12 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.153, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04374/0.1967, allocations: 35.68 MB / 1.014 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0331/0.2299, allocations: 14.52 MB / 1.028 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004563/0.2345, allocations: 155 kB / 1.028 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.2385, allocations: 0.8345 MB / 1.029 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008252/0.2468, allocations: 2.103 MB / 1.031 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007482/0.2543, allocations: 1.928 MB / 1.033 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.266, allocations: 5.686 MB / 1.038 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03077/0.2968, allocations: 13.96 MB / 1.052 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006996/0.3039, allocations: 3.134 MB / 1.055 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006908/0.3108, allocations: 3.29 MB / 1.058 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001913/0.3128, allocations: 403.9 kB / 1.059 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.3165, allocations: 0.7611 MB / 1.059 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00477/0.3214, allocations: 2.724 MB / 1.062 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.3247, allocations: 1.385 MB / 1.063 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5449/0.8696, allocations: 11.59 MB / 1.075 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.404e-06/0.8696, allocations: 0 / 1.075 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.205e-06/0.8696, allocations: 1.344 kB / 1.075 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003524/0.87, allocations: 0 / 1.075 GB, free: 27.12 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01978/0.8898, allocations: 6.183 MB / 1.081 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.8899, allocations: 13.73 kB / 1.081 GB, free: 24.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/0.9035, allocations: 1.506 MB / 1.082 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.9166, allocations: 4.098 MB / 1.086 GB, free: 23.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008887/0.9176, allocations: 457.6 kB / 1.087 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003405/0.921, allocations: 0.5993 MB / 1.087 GB, free: 23.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03038/0.9514, allocations: 10.59 MB / 1.097 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002732/0.9517, allocations: 29.81 kB / 1.098 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/0.9537, allocations: 264.3 kB / 1.098 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/0.957, allocations: 0.7725 MB / 1.099 GB, free: 22.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/0.98, allocations: 8.52 MB / 1.107 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07239/1.052, allocations: 46.96 MB / 1.153 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008262/1.061, allocations: 4.291 MB / 1.157 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/1.061, allocations: 35.78 kB / 1.157 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.878e-05/1.061, allocations: 84.3 kB / 1.157 GB, free: 2.164 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 8.242e-06/1.061, allocations: 2.406 kB / 1.157 GB, free: 2.164 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.7685/1.83, allocations: 127.9 MB / 1.282 GB, free: 7.988 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.83, allocations: 111.9 kB / 1.282 GB, free: 7.863 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/1.836, allocations: 2.656 MB / 1.285 GB, free: 5.211 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00132/1.837, allocations: 125.7 kB / 1.285 GB, free: 5.082 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002887/1.84, allocations: 2.68 MB / 1.287 GB, free: 2.383 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003441/1.844, allocations: 1.951 MB / 1.289 GB, free: 460 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/1.845, allocations: 112 kB / 1.289 GB, free: 348 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0005846/1.845, allocations: 0.5257 MB / 1.29 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0099/1.855, allocations: 4.056 MB / 1.294 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/1.867, allocations: 4.979 MB / 1.299 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/1.878, allocations: 4.812 MB / 1.303 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.518e-05/1.878, allocations: 8 kB / 1.303 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.05719/1.935, allocations: 16.92 MB / 1.32 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/1.935, allocations: 17.25 kB / 1.32 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.072e-05/1.936, allocations: 24 kB / 1.32 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04331/1.979, allocations: 9.06 MB / 1.329 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003191/1.982, allocations: 0.522 MB / 1.329 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1677/2.15, allocations: 73.68 MB / 1.401 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006007/2.156, allocations: 283.7 kB / 1.402 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/2.157, allocations: 188 kB / 1.402 GB, free: 11.86 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00746/2.165, allocations: 2.427 MB / 1.404 GB, free: 9.457 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002272/2.167, allocations: 470.5 kB / 1.405 GB, free: 8.992 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05636/2.224, allocations: 16.75 MB / 1.421 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.484e-05/2.224, allocations: 56 kB / 1.421 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002018/2.224, allocations: 72 kB / 1.421 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001156/2.224, allocations: 23.91 kB / 1.421 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.632/2.856, allocations: 25.62 MB / 1.446 GB, free: 339.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.938e-05/2.856, allocations: 6.844 kB / 1.446 GB, free: 339.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/2.859, allocations: 321 kB / 1.446 GB, free: 339.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03944/2.898, allocations: 8.26 MB / 1.454 GB, free: 337.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001222/2.899, allocations: 107.5 kB / 1.455 GB, free: 337.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1557/3.055, allocations: 70.53 MB / 1.523 GB, free: 290.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.517e-05/3.055, allocations: 8 kB / 1.523 GB, free: 290.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06937/3.124, allocations: 22.19 MB / 1.545 GB, free: 267.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004282/3.129, allocations: 1.364 MB / 1.546 GB, free: 266.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001806/3.131, allocations: 112 kB / 1.547 GB, free: 266.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005027/3.136, allocations: 283.6 kB / 1.547 GB, free: 266 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002955/3.139, allocations: 0.526 MB / 1.547 GB, free: 265.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001319/3.14, allocations: 144 kB / 1.547 GB, free: 265.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003542/3.144, allocations: 1.749 MB / 1.549 GB, free: 263.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.075e-06/3.144, allocations: 0 / 1.549 GB, free: 263.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01251/3.156, allocations: 2.441 MB / 1.552 GB, free: 261.2 MB / 0.9636 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001944/3.158, allocations: 235.4 kB / 1.552 GB, free: 260.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0372/3.195, allocations: 14.48 MB / 1.566 GB, free: 246.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/3.195, allocations: 4 kB / 1.566 GB, free: 246.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.02183/3.217, allocations: 9.373 MB / 1.575 GB, free: 236.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007081/3.224, allocations: 1.189 MB / 1.576 GB, free: 235.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03956/3.264, allocations: 18.12 MB / 1.594 GB, free: 217.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008702/3.273, allocations: 5.021 MB / 1.599 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00383/3.277, allocations: 0.7449 MB / 1.6 GB, free: 211.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/3.277, allocations: 195.4 kB / 1.6 GB, free: 211.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.607e-06/3.277, allocations: 0 / 1.6 GB, free: 211.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.3135/3.591, allocations: 135.3 MB / 1.732 GB, free: 76.92 MB / 0.9636 GB