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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01067/0.01068, allocations: 107.4 kB / 15.05 MB, free: 5.934 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.001155/0.001155, allocations: 185.9 kB / 15.94 MB, free: 5.898 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 2.058/2.058, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.342/2.342, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6504, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2911/0.9416, allocations: 171.6 MB / 0.851 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003707/0.9421, allocations: 99.92 kB / 0.8511 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.534/2.476, allocations: 268.9 MB / 1.114 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.096e-06/2.476, allocations: 0 / 1.114 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005325/2.476, allocations: 139.9 kB / 1.114 GB, free: 31.51 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.02228/2.499, allocations: 5.138 MB / 1.119 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/2.499, allocations: 12.03 kB / 1.119 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003912/2.503, allocations: 0.7595 MB / 1.12 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/2.521, allocations: 1.499 MB / 1.121 GB, free: 24.01 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01574/2.537, allocations: 4.223 MB / 1.125 GB, free: 19.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004445/2.537, allocations: 374.1 kB / 1.126 GB, free: 19.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002615/2.54, allocations: 0.4959 MB / 1.126 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/2.564, allocations: 8.381 MB / 1.134 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/2.565, allocations: 27.7 kB / 1.134 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/2.566, allocations: 235.9 kB / 1.134 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004442/2.567, allocations: 330 kB / 1.135 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/2.586, allocations: 6.445 MB / 1.141 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07743/2.663, allocations: 40 MB / 1.18 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007256/2.671, allocations: 2.815 MB / 1.183 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/2.671, allocations: 34.08 kB / 1.183 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.813e-05/2.671, allocations: 64.66 kB / 1.183 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=265): time 5.32e-06/2.671, allocations: 0 / 1.183 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=424): time 1.125/3.797, allocations: 64.9 MB / 1.246 GB, free: 166.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/3.797, allocations: 94.95 kB / 1.246 GB, free: 166.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005202/3.802, allocations: 1.934 MB / 1.248 GB, free: 166.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001181/3.803, allocations: 94.84 kB / 1.248 GB, free: 166.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002357/3.806, allocations: 2.338 MB / 1.251 GB, free: 165.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002595/3.808, allocations: 1.436 MB / 1.252 GB, free: 164.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007295/3.809, allocations: 86.22 kB / 1.252 GB, free: 164.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0004208/3.81, allocations: 490.5 kB / 1.253 GB, free: 164.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01262/3.822, allocations: 2.778 MB / 1.255 GB, free: 164.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/3.835, allocations: 3.736 MB / 1.259 GB, free: 163.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/3.847, allocations: 3.369 MB / 1.262 GB, free: 163.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.834e-05/3.847, allocations: 7.625 kB / 1.262 GB, free: 163.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.06135/3.909, allocations: 11.78 MB / 1.274 GB, free: 162.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/3.909, allocations: 18 kB / 1.274 GB, free: 162.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-05/3.909, allocations: 28.19 kB / 1.274 GB, free: 162.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03143/3.94, allocations: 5.016 MB / 1.279 GB, free: 162.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/3.944, allocations: 0.5036 MB / 1.279 GB, free: 162.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1162/4.061, allocations: 66.89 MB / 1.345 GB, free: 117.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006308/4.067, allocations: 190.1 kB / 1.345 GB, free: 117.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/4.068, allocations: 163.1 kB / 1.345 GB, free: 117.8 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.006316/4.075, allocations: 1.997 MB / 1.347 GB, free: 116.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/4.076, allocations: 394.3 kB / 1.347 GB, free: 116.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0468/4.123, allocations: 11.55 MB / 1.358 GB, free: 112.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/4.123, allocations: 39.88 kB / 1.359 GB, free: 112.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001862/4.123, allocations: 48.31 kB / 1.359 GB, free: 112.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/4.123, allocations: 21.47 kB / 1.359 GB, free: 112.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06257/4.186, allocations: 17.89 MB / 1.376 GB, free: 105.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.607e-05/4.186, allocations: 7.875 kB / 1.376 GB, free: 105.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/4.189, allocations: 291.1 kB / 1.376 GB, free: 105.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02764/4.217, allocations: 4.514 MB / 1.381 GB, free: 103.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/4.218, allocations: 79.03 kB / 1.381 GB, free: 103.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1282/4.346, allocations: 64.41 MB / 1.444 GB, free: 42.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/4.346, allocations: 15.89 kB / 1.444 GB, free: 42.06 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05098/4.397, allocations: 15.28 MB / 1.459 GB, free: 28.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003782/4.401, allocations: 0.9729 MB / 1.46 GB, free: 27.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/4.403, allocations: 84 kB / 1.46 GB, free: 27.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005422/4.408, allocations: 184.6 kB / 1.46 GB, free: 27.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002305/4.411, allocations: 398.4 kB / 1.46 GB, free: 27.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008523/4.412, allocations: 104 kB / 1.46 GB, free: 27.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003438/4.415, allocations: 1.458 MB / 1.462 GB, free: 25.97 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.302e-06/4.415, allocations: 0 / 1.462 GB, free: 25.97 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01016/4.425, allocations: 1.754 MB / 1.463 GB, free: 24.22 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.05468/4.48, allocations: 17.74 MB / 1.481 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.03272/4.513, allocations: 11.64 MB / 1.492 GB, free: 13.77 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/4.513, allocations: 0 / 1.492 GB, free: 13.77 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.02602/4.539, allocations: 8.093 MB / 1.5 GB, free: 6.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008669/4.548, allocations: 0.9574 MB / 1.501 GB, free: 5.516 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7607/5.308, allocations: 59.94 MB / 1.56 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/5.319, allocations: 4.188 MB / 1.564 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004694/5.323, allocations: 0.6693 MB / 1.564 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004851/5.328, allocations: 2.143 MB / 1.566 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.973e-06/5.328, allocations: 3.25 kB / 1.566 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2968/5.625, allocations: 136.4 MB / 1.7 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/5.626, allocations: 222.6 kB / 1.7 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/12.89, allocations: 4.062 kB / 1.7 GB, free: 139.5 MB / 0.8542 GB