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_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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.39/2.39, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001485/0.001485, allocations: 176.1 kB / 325.6 MB, free: 2.828 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.411/2.411, allocations: 205.4 MB / 0.5766 GB, free: 20.83 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.001188/0.001187, allocations: 95.92 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 14.52 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 106.2 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04918/0.2609, allocations: 35.7 MB / 0.9338 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02945/0.2904, allocations: 14.51 MB / 0.9479 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004614/0.2951, allocations: 155 kB / 0.9481 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.2994, allocations: 0.8423 MB / 0.9489 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009562/0.309, allocations: 2.107 MB / 0.951 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008487/0.3176, allocations: 1.929 MB / 0.9528 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01186/0.3295, allocations: 5.686 MB / 0.9584 GB, free: 4.398 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0319/0.3615, allocations: 13.95 MB / 0.972 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008176/0.3697, allocations: 3.145 MB / 0.9751 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008854/0.3786, allocations: 3.298 MB / 0.9783 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002553/0.3812, allocations: 399.9 kB / 0.9787 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005076/0.3863, allocations: 0.7649 MB / 0.9794 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.006394/0.3928, allocations: 2.724 MB / 0.9821 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003912/0.3968, allocations: 1.381 MB / 0.9834 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01887/0.4157, allocations: 11.59 MB / 0.9948 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4157, allocations: 3.938 kB / 0.9948 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.347e-06/0.4158, allocations: 0 / 0.9948 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004704/0.4162, allocations: 4 kB / 0.9948 GB, free: 14.98 MB / 0.6511 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.02463/0.4409, allocations: 6.185 MB / 1.001 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.441, allocations: 12.03 kB / 1.001 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/0.4563, allocations: 1.506 MB / 1.002 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/0.4701, allocations: 4.101 MB / 1.006 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006562/0.4708, allocations: 456.1 kB / 1.007 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003111/0.4739, allocations: 0.5857 MB / 1.007 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03678/0.5107, allocations: 10.6 MB / 1.018 GB, free: 7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000401/0.5112, allocations: 27.69 kB / 1.018 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002614/0.5138, allocations: 267.9 kB / 1.018 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005499/0.5194, allocations: 0.7729 MB / 1.019 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02911/0.5485, allocations: 8.51 MB / 1.027 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7448/1.293, allocations: 46.95 MB / 1.073 GB, free: 114.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/1.31, allocations: 4.295 MB / 1.077 GB, free: 114.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/1.311, allocations: 40.48 kB / 1.077 GB, free: 114.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.084e-05/1.311, allocations: 78.58 kB / 1.077 GB, free: 114.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 7.274e-06/1.311, allocations: 5.094 kB / 1.077 GB, free: 114.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 1.061/2.372, allocations: 127.9 MB / 1.202 GB, free: 7.176 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/2.372, allocations: 111.9 kB / 1.202 GB, free: 7.051 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005169/2.377, allocations: 2.654 MB / 1.205 GB, free: 4.398 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001492/2.379, allocations: 121.7 kB / 1.205 GB, free: 4.273 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002002/2.381, allocations: 2.678 MB / 1.207 GB, free: 1.574 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003293/2.384, allocations: 1.952 MB / 1.209 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/2.385, allocations: 108 kB / 1.209 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000557/2.386, allocations: 0.5334 MB / 1.21 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01221/2.398, allocations: 4.056 MB / 1.214 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/2.412, allocations: 4.964 MB / 1.219 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/2.426, allocations: 4.835 MB / 1.224 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.49e-05/2.426, allocations: 4 kB / 1.224 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.07688/2.503, allocations: 16.92 MB / 1.24 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/2.503, allocations: 13.25 kB / 1.24 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.155e-05/2.503, allocations: 27.95 kB / 1.24 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06089/2.564, allocations: 9.052 MB / 1.249 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004773/2.569, allocations: 0.5304 MB / 1.249 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2206/2.789, allocations: 73.67 MB / 1.321 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/2.8, allocations: 279.8 kB / 1.322 GB, free: 10.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/2.802, allocations: 196 kB / 1.322 GB, free: 10.46 MB / 0.823 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.008913/2.811, allocations: 2.419 MB / 1.324 GB, free: 8.031 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002548/2.814, allocations: 478.5 kB / 1.325 GB, free: 7.559 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0763/2.89, allocations: 16.75 MB / 1.341 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.758e-05/2.89, allocations: 60 kB / 1.341 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000257/2.891, allocations: 75.98 kB / 1.341 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001449/2.891, allocations: 23.91 kB / 1.341 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1018/2.993, allocations: 25.62 MB / 1.366 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.368e-05/2.993, allocations: 12.03 kB / 1.366 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003559/2.996, allocations: 327.5 kB / 1.367 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05467/3.051, allocations: 8.256 MB / 1.375 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001416/3.053, allocations: 112 kB / 1.375 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8054/3.858, allocations: 70.53 MB / 1.444 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/3.858, allocations: 11.5 kB / 1.444 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07288/3.931, allocations: 22.17 MB / 1.465 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005376/3.936, allocations: 1.362 MB / 1.467 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002457/3.939, allocations: 108 kB / 1.467 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01098/3.95, allocations: 287.6 kB / 1.467 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005483/3.955, allocations: 0.522 MB / 1.467 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001779/3.957, allocations: 145 kB / 1.468 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006013/3.963, allocations: 1.749 MB / 1.469 GB, free: 237 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.064e-06/3.963, allocations: 0 / 1.469 GB, free: 237 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01682/3.98, allocations: 2.441 MB / 1.472 GB, free: 234.6 MB / 0.8698 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.002125/3.982, allocations: 240.6 kB / 1.472 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.06368/4.046, allocations: 14.48 MB / 1.486 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/4.046, allocations: 4 kB / 1.486 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.04193/4.088, allocations: 9.369 MB / 1.495 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009721/4.098, allocations: 1.2 MB / 1.496 GB, free: 209 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03982/4.138, allocations: 18.13 MB / 1.514 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009586/4.147, allocations: 5.017 MB / 1.519 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007327/4.155, allocations: 0.741 MB / 1.52 GB, free: 185 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/4.157, allocations: 199.4 kB / 1.52 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.254e-06/4.157, allocations: 0 / 1.52 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.3852/4.542, allocations: 135.3 MB / 1.652 GB, free: 50.16 MB / 0.8698 GB