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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01387/0.01387, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001139/0.001139, allocations: 180.2 kB / 15.95 MB, free: 5.523 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.906/1.906, 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.529/2.529, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004771, allocations: 16 kB / 0.587 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6003, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02383/0.6242, allocations: 18.21 MB / 0.7011 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2273/0.8515, allocations: 134.8 MB / 0.8327 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.8541, allocations: 55.75 kB / 0.8328 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.8561, allocations: 0.5167 MB / 0.8333 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.8663, allocations: 1.561 MB / 0.8348 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.8764, allocations: 1.493 MB / 0.8363 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009357/0.8858, allocations: 2.506 MB / 0.8387 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02071/0.9065, allocations: 5.672 MB / 0.8443 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004888/0.9115, allocations: 1.308 MB / 0.8455 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004804/0.9163, allocations: 1.374 MB / 0.8469 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.9175, allocations: 164 kB / 0.847 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.9211, allocations: 0.6009 MB / 0.8476 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002841/0.9239, allocations: 1.181 MB / 0.8488 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.9259, allocations: 0.66 MB / 0.8494 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01519/0.9411, allocations: 5.413 MB / 0.8547 GB, free: 14.48 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.265e-06/0.9412, allocations: 4 kB / 0.8547 GB, free: 14.48 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.644e-06/0.9412, allocations: 0 / 0.8547 GB, free: 14.48 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.0001588/0.9414, allocations: 0 / 0.8547 GB, free: 14.48 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: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.01075/0.9521, allocations: 3.269 MB / 0.8579 GB, free: 11.11 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.9522, allocations: 12.03 kB / 0.8579 GB, free: 11.1 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006706/0.9589, allocations: 0.9789 MB / 0.8589 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005579/0.9645, allocations: 2.133 MB / 0.861 GB, free: 7.93 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.9649, allocations: 234 kB / 0.8612 GB, free: 7.699 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008729/0.9657, allocations: 299.9 kB / 0.8615 GB, free: 7.406 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.9778, allocations: 4.69 MB / 0.8661 GB, free: 2.582 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.573e-05/0.9779, allocations: 7.938 kB / 0.8661 GB, free: 2.574 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005745/0.9785, allocations: 128 kB / 0.8662 GB, free: 2.449 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004876/0.979, allocations: 210 kB / 0.8664 GB, free: 2.242 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.9908, allocations: 4.419 MB / 0.8707 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03344/1.024, allocations: 18.59 MB / 0.8888 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005867/1.03, allocations: 2.246 MB / 0.891 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009731/1.031, allocations: 0.5701 MB / 0.8916 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003901/1.035, allocations: 1.223 MB / 0.8928 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 6.104e-06/1.035, allocations: 0 / 0.8928 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.04191/1.077, allocations: 10.64 MB / 0.9032 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002245/1.077, allocations: 334.4 kB / 0.9035 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003585/1.081, allocations: 1.798 MB / 0.9053 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004167/1.081, allocations: 57.7 kB / 0.9053 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.083, allocations: 1.397 MB / 0.9067 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/1.084, allocations: 0.6432 MB / 0.9073 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/1.084, allocations: 44 kB / 0.9073 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002635/1.085, allocations: 385.9 kB / 0.9077 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/1.088, allocations: 1.199 MB / 0.9089 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/1.092, allocations: 1.71 MB / 0.9106 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/1.096, allocations: 1.559 MB / 0.9121 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/1.096, allocations: 4 kB / 0.9121 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.471/1.567, allocations: 4.907 MB / 0.9169 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/1.568, allocations: 5.038 MB / 0.9218 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-05/1.568, allocations: 16.41 kB / 0.9218 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/1.578, allocations: 1.833 MB / 0.9236 GB, free: 201.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/1.581, allocations: 487.4 kB / 0.9241 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02002/1.601, allocations: 9.48 MB / 0.9333 GB, free: 196.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/1.604, allocations: 210.1 kB / 0.9335 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/1.604, allocations: 98.66 kB / 0.9336 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.604, allocations: 3.406 kB / 0.9336 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01238/1.617, allocations: 4.125 MB / 0.9376 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-05/1.617, allocations: 12.97 kB / 0.9377 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006121/1.623, allocations: 1.197 MB / 0.9388 GB, free: 194.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/1.626, allocations: 0.4986 MB / 0.9393 GB, free: 194.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/1.638, allocations: 5.87 MB / 0.945 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/1.641, allocations: 188.4 kB / 0.9452 GB, free: 191.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/1.641, allocations: 91.59 kB / 0.9453 GB, free: 191.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (228): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {3 13} Notification: Performance of prepare postOptimizeDAE: time 0.002525/1.644, allocations: 1.215 MB / 0.9465 GB, free: 190.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/1.644, allocations: 219.4 kB / 0.9467 GB, free: 190.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/1.659, allocations: 4.637 MB / 0.9512 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-05/1.659, allocations: 20.28 kB / 0.9513 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.659, allocations: 2.719 kB / 0.9513 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-05/1.659, allocations: 13.27 kB / 0.9513 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02443/1.683, allocations: 9.722 MB / 0.9608 GB, free: 181.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/1.683, allocations: 7.438 kB / 0.9608 GB, free: 181.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/1.686, allocations: 384.2 kB / 0.9611 GB, free: 181.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008906/1.695, allocations: 1.695 MB / 0.9628 GB, free: 181 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003998/1.695, allocations: 57.88 kB / 0.9629 GB, free: 181 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/1.711, allocations: 9.08 MB / 0.9717 GB, free: 172.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.558e-06/1.711, allocations: 12 kB / 0.9717 GB, free: 172.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.724, allocations: 5.14 MB / 0.9768 GB, free: 167.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/1.725, allocations: 0.6736 MB / 0.9774 GB, free: 166.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006202/1.726, allocations: 40 kB / 0.9774 GB, free: 166.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.729, allocations: 222.8 kB / 0.9777 GB, free: 166.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004913/1.729, allocations: 157.7 kB / 0.9778 GB, free: 166.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/1.729, allocations: 71.97 kB / 0.9779 GB, free: 166 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002206/1.732, allocations: 1.256 MB / 0.9791 GB, free: 164.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.043e-06/1.732, allocations: 4 kB / 0.9791 GB, free: 164.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004996/1.737, allocations: 1.228 MB / 0.9803 GB, free: 163.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (173): * Single equations (assignments): 169 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {3 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002981/1.74, allocations: 0.9057 MB / 0.9812 GB, free: 163 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01371/1.753, allocations: 5.949 MB / 0.987 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.753, allocations: 1.875 kB / 0.987 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004199/1.758, allocations: 1.926 MB / 0.9889 GB, free: 155 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/1.76, allocations: 0.4917 MB / 0.9894 GB, free: 154.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.774, allocations: 7.677 MB / 0.9969 GB, free: 146.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003046/1.777, allocations: 2.438 MB / 0.9992 GB, free: 144.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004727/1.782, allocations: 1.043 MB / 1 GB, free: 143.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009227/1.783, allocations: 191.4 kB / 1 GB, free: 143 MB / 0.7292 GB Notification: Performance of SimCode: time 1.963e-06/1.783, allocations: 3.938 kB / 1 GB, free: 143 MB / 0.7292 GB Notification: Performance of Templates: time 0.09301/1.876, allocations: 46.05 MB / 1.045 GB, free: 97.28 MB / 0.7292 GB