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.Sources.Examples.WindTurbine.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.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0092/0.009205, allocations: 105.9 kB / 15.06 MB, free: 5.559 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.001134/0.001134, allocations: 184 kB / 15.95 MB, free: 5.52 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.875/1.875, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.307/2.307, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5822/0.5827, allocations: 98.71 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02424/0.607, allocations: 18.47 MB / 0.7014 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2974/0.9045, allocations: 134.7 MB / 0.8329 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004422/0.909, allocations: 51.75 kB / 0.833 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003495/0.9125, allocations: 0.5361 MB / 0.8335 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01265/0.9252, allocations: 1.53 MB / 0.835 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01155/0.9368, allocations: 1.481 MB / 0.8364 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00728/0.9441, allocations: 2.631 MB / 0.839 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.9565, allocations: 5.704 MB / 0.8446 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.9595, allocations: 1.351 MB / 0.8459 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.9626, allocations: 1.428 MB / 0.8473 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0007449/0.9634, allocations: 168 kB / 0.8475 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.9658, allocations: 0.6165 MB / 0.8481 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.9684, allocations: 1.243 MB / 0.8493 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.9698, allocations: 0.6912 MB / 0.8499 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00875/0.9786, allocations: 5.678 MB / 0.8555 GB, free: 13.67 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.239e-06/0.9787, allocations: 7.938 kB / 0.8555 GB, free: 13.66 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.155e-06/0.9787, allocations: 0 / 0.8555 GB, free: 13.66 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.0001284/0.9788, allocations: 0 / 0.8555 GB, free: 13.66 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.008529/0.9874, allocations: 3.393 MB / 0.8588 GB, free: 10.17 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.9874, allocations: 12.03 kB / 0.8588 GB, free: 10.16 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006529/0.994, allocations: 0.9593 MB / 0.8598 GB, free: 9.191 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/0.9998, allocations: 2.276 MB / 0.862 GB, free: 6.863 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/1, allocations: 234.1 kB / 0.8622 GB, free: 6.633 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009683/1.001, allocations: 311.8 kB / 0.8625 GB, free: 6.328 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/1.014, allocations: 4.758 MB / 0.8671 GB, free: 1.418 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.151e-05/1.014, allocations: 3.938 kB / 0.8672 GB, free: 1.414 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005292/1.014, allocations: 136 kB / 0.8673 GB, free: 1.281 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004605/1.015, allocations: 222 kB / 0.8675 GB, free: 1.062 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/1.027, allocations: 4.422 MB / 0.8718 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03553/1.063, allocations: 19.6 MB / 0.891 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005893/1.069, allocations: 2.146 MB / 0.893 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.07, allocations: 0.5662 MB / 0.8936 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003088/1.073, allocations: 1.26 MB / 0.8948 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 5.447e-06/1.073, allocations: 0 / 0.8948 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.04915/1.122, allocations: 11.55 MB / 0.9061 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/1.122, allocations: 283 kB / 0.9064 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/1.126, allocations: 1.985 MB / 0.9083 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004291/1.127, allocations: 65.7 kB / 0.9084 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001829/1.129, allocations: 1.426 MB / 0.9098 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001049/1.13, allocations: 0.6585 MB / 0.9104 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/1.13, allocations: 36 kB / 0.9105 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002755/1.13, allocations: 385.9 kB / 0.9108 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/1.134, allocations: 1.238 MB / 0.912 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5105/1.644, allocations: 1.669 MB / 0.9137 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/1.648, allocations: 1.597 MB / 0.9152 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-05/1.649, allocations: 6.656 kB / 0.9152 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02049/1.669, allocations: 5.463 MB / 0.9206 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008507/1.67, allocations: 3.843 MB / 0.9243 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/1.67, allocations: 10.03 kB / 0.9243 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/1.684, allocations: 2.452 MB / 0.9267 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/1.687, allocations: 473.8 kB / 0.9272 GB, free: 201.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03641/1.723, allocations: 14.66 MB / 0.9415 GB, free: 190.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005087/1.728, allocations: 211.3 kB / 0.9417 GB, free: 190.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007383/1.729, allocations: 82.27 kB / 0.9418 GB, free: 190.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.729, allocations: 4.062 kB / 0.9418 GB, free: 190.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03459/1.764, allocations: 4.537 MB / 0.9462 GB, free: 189.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.035e-05/1.764, allocations: 13.25 kB / 0.9462 GB, free: 189.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/1.774, allocations: 1.622 MB / 0.9478 GB, free: 188.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/1.777, allocations: 497.8 kB / 0.9483 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/1.793, allocations: 8.614 MB / 0.9567 GB, free: 181.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/1.796, allocations: 186.8 kB / 0.9569 GB, free: 181.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004034/1.796, allocations: 90.16 kB / 0.9569 GB, free: 181.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002897/1.799, allocations: 1.254 MB / 0.9582 GB, free: 180.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/1.8, allocations: 224.9 kB / 0.9584 GB, free: 180.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/1.817, allocations: 5.325 MB / 0.9636 GB, free: 177.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/1.817, allocations: 25.17 kB / 0.9636 GB, free: 177.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.817, allocations: 1.656 kB / 0.9636 GB, free: 177.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-05/1.817, allocations: 11.62 kB / 0.9636 GB, free: 177.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/1.842, allocations: 10.01 MB / 0.9734 GB, free: 170.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/1.842, allocations: 8 kB / 0.9734 GB, free: 170.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/1.844, allocations: 399.4 kB / 0.9738 GB, free: 170.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01074/1.855, allocations: 2.273 MB / 0.976 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004015/1.855, allocations: 51.97 kB / 0.9761 GB, free: 168.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/1.875, allocations: 14.26 MB / 0.99 GB, free: 153.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.731e-06/1.875, allocations: 4 kB / 0.99 GB, free: 153.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/1.891, allocations: 5.6 MB / 0.9955 GB, free: 147.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/1.893, allocations: 0.7052 MB / 0.9961 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005118/1.893, allocations: 48 kB / 0.9962 GB, free: 146.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/1.896, allocations: 235.7 kB / 0.9964 GB, free: 146.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005567/1.896, allocations: 153.7 kB / 0.9966 GB, free: 146.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002498/1.897, allocations: 79.97 kB / 0.9966 GB, free: 146 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002437/1.899, allocations: 1.392 MB / 0.998 GB, free: 144.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.93e-07/1.899, allocations: 0 / 0.998 GB, free: 144.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004953/1.904, allocations: 1.264 MB / 0.9992 GB, free: 143.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003274/1.907, allocations: 1.003 MB / 1 GB, free: 142.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01387/1.921, allocations: 6.691 MB / 1.007 GB, free: 135.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.921, allocations: 0 / 1.007 GB, free: 135.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004623/1.926, allocations: 2.376 MB / 1.009 GB, free: 133.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/1.929, allocations: 0.507 MB / 1.01 GB, free: 132.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/1.943, allocations: 7.927 MB / 1.017 GB, free: 124.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/1.945, allocations: 2.512 MB / 1.02 GB, free: 122.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004413/1.95, allocations: 1.028 MB / 1.021 GB, free: 121.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/1.951, allocations: 207.3 kB / 1.021 GB, free: 121 MB / 0.7292 GB Notification: Performance of SimCode: time 1.632e-06/1.951, allocations: 0 / 1.021 GB, free: 121 MB / 0.7292 GB Notification: Performance of Templates: time 0.1028/2.054, allocations: 51.13 MB / 1.071 GB, free: 70.24 MB / 0.7292 GB