Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01757/0.01757, allocations: 222.3 kB / 15.17 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001899/0.001899, allocations: 176.1 kB / 16.06 MB, free: 5.836 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.65/3.65, allocations: 389.1 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.039/4.039, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.000492, allocations: 16 kB / 1.008 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5099, allocations: 98.71 MB / 1.104 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04464/0.5546, allocations: 34.19 MB / 1.137 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03057/0.5852, allocations: 12.39 MB / 1.15 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004396/0.5896, allocations: 147.1 kB / 1.15 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.5925, allocations: 0.7017 MB / 1.15 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008002/0.6006, allocations: 2.23 MB / 1.153 GB, free: 8.941 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006517/0.6071, allocations: 1.637 MB / 1.154 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01512/0.6223, allocations: 10.65 MB / 1.165 GB, free: 12.62 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02375/0.6461, allocations: 11.42 MB / 1.176 GB, free: 1.105 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005988/0.6521, allocations: 2.894 MB / 1.179 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007353/0.6595, allocations: 3.776 MB / 1.182 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.661, allocations: 320 kB / 1.183 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.6647, allocations: 0.7723 MB / 1.183 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.004244/0.669, allocations: 2.435 MB / 1.186 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.002815/0.6718, allocations: 1.175 MB / 1.187 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.6863, allocations: 9.729 MB / 1.196 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.6863, allocations: 0 / 1.196 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.89e-06/0.6863, allocations: 3.938 kB / 1.196 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000238/0.6866, allocations: 0 / 1.196 GB, free: 11.94 MB / 0.6042 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.01407/0.7006, allocations: 5.193 MB / 1.201 GB, free: 6.676 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.7007, allocations: 8.031 kB / 1.201 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.7117, allocations: 1.367 MB / 1.203 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008888/0.7207, allocations: 3.472 MB / 1.206 GB, free: 1.746 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000452/0.7212, allocations: 390 kB / 1.206 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.7228, allocations: 0.4997 MB / 1.207 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.7441, allocations: 8.836 MB / 1.216 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.7443, allocations: 27.78 kB / 1.216 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/0.7454, allocations: 223.9 kB / 1.216 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002486/0.7479, allocations: 0.6304 MB / 1.216 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.7657, allocations: 6.975 MB / 1.223 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0647/0.8305, allocations: 40.39 MB / 1.263 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005902/0.8364, allocations: 2.882 MB / 1.266 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00551/0.8419, allocations: 2.663 MB / 1.268 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.8422, allocations: 30 kB / 1.268 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.165e-05/0.8423, allocations: 72.53 kB / 1.268 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=265): time 7.05e-06/0.8423, allocations: 0 / 1.268 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=424): time 0.8976/1.74, allocations: 77.4 MB / 1.344 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.74, allocations: 94.73 kB / 1.344 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006294/1.746, allocations: 2.336 MB / 1.346 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001075/1.747, allocations: 97.7 kB / 1.346 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00222/1.75, allocations: 2.339 MB / 1.349 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002454/1.752, allocations: 1.437 MB / 1.35 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007403/1.753, allocations: 88 kB / 1.35 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000418/1.753, allocations: 483.2 kB / 1.35 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005783/1.759, allocations: 2.98 MB / 1.353 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006641/1.766, allocations: 3.835 MB / 1.357 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006808/1.773, allocations: 3.548 MB / 1.361 GB, free: 98.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-05/1.773, allocations: 8 kB / 1.361 GB, free: 98.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03325/1.806, allocations: 12.49 MB / 1.373 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/1.806, allocations: 12 kB / 1.373 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/1.806, allocations: 24 kB / 1.373 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02747/1.834, allocations: 6.017 MB / 1.379 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/1.836, allocations: 491.2 kB / 1.379 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1642/2, allocations: 67.2 MB / 1.445 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007381/2.008, allocations: 215.8 kB / 1.445 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/2.009, allocations: 156 kB / 1.445 GB, free: 8.156 MB / 0.6823 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.007487/2.017, allocations: 1.992 MB / 1.447 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001824/2.019, allocations: 387.4 kB / 1.447 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06667/2.086, allocations: 12.19 MB / 1.459 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-05/2.086, allocations: 43.95 kB / 1.459 GB, free: 9.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002307/2.086, allocations: 49.69 kB / 1.459 GB, free: 9.383 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/2.086, allocations: 19.92 kB / 1.459 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1025/2.189, allocations: 19.12 MB / 1.478 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.94e-05/2.189, allocations: 12.03 kB / 1.478 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004438/2.193, allocations: 283.6 kB / 1.478 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04789/2.241, allocations: 5.571 MB / 1.484 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008037/2.242, allocations: 83.98 kB / 1.484 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1348/2.377, allocations: 64.81 MB / 1.547 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/2.377, allocations: 11.94 kB / 1.547 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04296/2.42, allocations: 15.56 MB / 1.562 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003311/2.423, allocations: 1.047 MB / 1.563 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009166/2.424, allocations: 79.98 kB / 1.564 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002997/2.427, allocations: 215.7 kB / 1.564 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001561/2.429, allocations: 402.5 kB / 1.564 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004506/2.429, allocations: 115.9 kB / 1.564 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003074/2.432, allocations: 1.537 MB / 1.566 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.98e-07/2.432, allocations: 0 / 1.566 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.007764/2.44, allocations: 1.844 MB / 1.568 GB, free: 7.051 MB / 0.8073 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.000884/2.441, allocations: 222.7 kB / 1.568 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02902/2.47, allocations: 12.18 MB / 1.58 GB, free: 10.34 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/2.47, allocations: 7.906 kB / 1.58 GB, free: 10.33 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.02072/2.491, allocations: 8.372 MB / 1.588 GB, free: 1.656 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006652/2.498, allocations: 1.107 MB / 1.589 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5751/3.073, allocations: 14.26 MB / 1.603 GB, free: 263.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008178/3.081, allocations: 4.191 MB / 1.607 GB, free: 262.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003735/3.085, allocations: 0.6648 MB / 1.608 GB, free: 262.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/3.086, allocations: 181.1 kB / 1.608 GB, free: 262.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.972e-06/3.086, allocations: 0 / 1.608 GB, free: 262.6 MB / 0.823 GB Notification: Performance of Templates: time 0.3118/3.397, allocations: 102.5 MB / 1.708 GB, free: 184.1 MB / 0.823 GB