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.009138/0.009138, allocations: 110.6 kB / 15.05 MB, free: 5.965 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.001123/0.001123, allocations: 181.6 kB / 15.94 MB, free: 5.93 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 1.903/1.903, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.158/2.158, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005731/0.0005734, allocations: 12 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5524, allocations: 98.7 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2763/0.8287, allocations: 171.6 MB / 0.8509 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.829, allocations: 99.92 kB / 0.851 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.505/2.334, allocations: 268.9 MB / 1.114 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.979e-06/2.334, allocations: 0 / 1.114 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004741/2.334, allocations: 143.9 kB / 1.114 GB, free: 31.46 MB / 0.7292 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.01921/2.353, allocations: 5.142 MB / 1.119 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/2.354, allocations: 8.031 kB / 1.119 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02421/2.378, allocations: 1.495 MB / 1.12 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02169/2.4, allocations: 4.219 MB / 1.124 GB, free: 20.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006223/2.4, allocations: 386 kB / 1.125 GB, free: 20.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003159/2.403, allocations: 0.4959 MB / 1.125 GB, free: 19.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03527/2.439, allocations: 8.385 MB / 1.133 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004047/2.439, allocations: 35.58 kB / 1.133 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002873/2.442, allocations: 224 kB / 1.134 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007196/2.443, allocations: 326 kB / 1.134 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02546/2.468, allocations: 6.453 MB / 1.14 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08377/2.552, allocations: 39.99 MB / 1.179 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005948/2.558, allocations: 2.822 MB / 1.182 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/2.558, allocations: 26.09 kB / 1.182 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/2.559, allocations: 64.66 kB / 1.182 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=265): time 6.648e-06/2.559, allocations: 0 / 1.182 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of matching and sorting (n=424): time 0.8359/3.394, allocations: 64.89 MB / 1.245 GB, free: 167.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/3.395, allocations: 95.02 kB / 1.246 GB, free: 167.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/3.399, allocations: 1.936 MB / 1.247 GB, free: 167.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008842/3.4, allocations: 91.52 kB / 1.248 GB, free: 167.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002059/3.402, allocations: 2.34 MB / 1.25 GB, free: 166.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002044/3.404, allocations: 1.445 MB / 1.251 GB, free: 165.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000565/3.404, allocations: 85.34 kB / 1.251 GB, free: 165.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003368/3.405, allocations: 491.1 kB / 1.252 GB, free: 165.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006124/3.411, allocations: 2.775 MB / 1.254 GB, free: 165.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007044/3.418, allocations: 3.742 MB / 1.258 GB, free: 164.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006735/3.425, allocations: 3.371 MB / 1.261 GB, free: 164.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.786e-05/3.425, allocations: 7.562 kB / 1.261 GB, free: 164.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.03387/3.459, allocations: 11.78 MB / 1.273 GB, free: 163.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/3.459, allocations: 18.78 kB / 1.273 GB, free: 163.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/3.459, allocations: 26.22 kB / 1.273 GB, free: 163.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02305/3.482, allocations: 5.008 MB / 1.278 GB, free: 163.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/3.485, allocations: 0.5063 MB / 1.278 GB, free: 163.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1173/3.602, allocations: 66.89 MB / 1.344 GB, free: 118.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009304/3.611, allocations: 187.6 kB / 1.344 GB, free: 118.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/3.613, allocations: 160.4 kB / 1.344 GB, free: 118.6 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (275): * Single equations (assignments): 251 * 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,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01001/3.623, allocations: 2.003 MB / 1.346 GB, free: 117.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002276/3.625, allocations: 384.4 kB / 1.346 GB, free: 117.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05744/3.683, allocations: 11.56 MB / 1.358 GB, free: 112.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-05/3.683, allocations: 41.53 kB / 1.358 GB, free: 112.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001289/3.683, allocations: 45.19 kB / 1.358 GB, free: 112.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.88e-05/3.683, allocations: 22.77 kB / 1.358 GB, free: 112.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0441/3.727, allocations: 17.9 MB / 1.375 GB, free: 106 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-05/3.727, allocations: 7.562 kB / 1.375 GB, free: 106 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/3.729, allocations: 288 kB / 1.376 GB, free: 106 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02774/3.757, allocations: 4.522 MB / 1.38 GB, free: 104.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007018/3.758, allocations: 77.39 kB / 1.38 GB, free: 104.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08467/3.843, allocations: 64.41 MB / 1.443 GB, free: 43.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/3.843, allocations: 15.89 kB / 1.443 GB, free: 43.71 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03343/3.876, allocations: 15.28 MB / 1.458 GB, free: 30.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002787/3.879, allocations: 0.9687 MB / 1.459 GB, free: 29.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008042/3.88, allocations: 83.7 kB / 1.459 GB, free: 29.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/3.882, allocations: 184.4 kB / 1.459 GB, free: 29.19 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001361/3.884, allocations: 402.2 kB / 1.459 GB, free: 28.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003948/3.884, allocations: 104 kB / 1.46 GB, free: 28.84 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002486/3.887, allocations: 1.461 MB / 1.461 GB, free: 27.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.45e-07/3.887, allocations: 0 / 1.461 GB, free: 27.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.007602/3.894, allocations: 1.75 MB / 1.463 GB, free: 25.88 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,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008458/3.895, allocations: 224.6 kB / 1.463 GB, free: 25.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02413/3.919, allocations: 11.64 MB / 1.474 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/3.919, allocations: 7.5 kB / 1.474 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01829/3.938, allocations: 8.082 MB / 1.482 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005817/3.943, allocations: 0.9751 MB / 1.483 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/3.971, allocations: 14.08 MB / 1.497 GB, free: 9.812 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008666/3.98, allocations: 4.19 MB / 1.501 GB, free: 6.633 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003691/3.984, allocations: 0.6763 MB / 1.502 GB, free: 6.172 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007329/3.985, allocations: 171.4 kB / 1.502 GB, free: 6.004 MB / 0.823 GB Notification: Performance of SimCode: time 1.545e-06/3.985, allocations: 0 / 1.502 GB, free: 6.004 MB / 0.823 GB Notification: Performance of Templates: time 0.7873/4.772, allocations: 94.88 MB / 1.594 GB, free: 176.8 MB / 0.8542 GB