Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",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.01108/0.01108, allocations: 107 kB / 15.06 MB, free: 5.555 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.001237/0.001236, allocations: 180.1 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.983/1.983, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.42/2.42, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000661/0.0006612, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6594, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.01005/0.6695, allocations: 5.932 MB / 0.6892 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2234/0.893, allocations: 128.9 MB / 0.8151 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.8943, allocations: 15.94 kB / 0.8151 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.8953, allocations: 190.8 kB / 0.8153 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.8991, allocations: 0.6465 MB / 0.8159 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.9035, allocations: 0.7911 MB / 0.8167 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003322/0.9069, allocations: 1.001 MB / 0.8177 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00425/0.9112, allocations: 1.253 MB / 0.8189 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.9126, allocations: 458.2 kB / 0.8194 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.9142, allocations: 488.9 kB / 0.8198 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.9145, allocations: 40 kB / 0.8199 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.9164, allocations: 403.5 kB / 0.8202 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006607/0.9171, allocations: 295 kB / 0.8205 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005448/0.9177, allocations: 253 kB / 0.8208 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.9217, allocations: 1.533 MB / 0.8223 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.9217, allocations: 0 / 0.8223 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9217, allocations: 0 / 0.8223 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.799e-05/0.9218, allocations: 4 kB / 0.8223 GB, free: 15.88 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.005524/0.9273, allocations: 1.511 MB / 0.8237 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.9274, allocations: 8.031 kB / 0.8238 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005688/0.928, allocations: 168.8 kB / 0.8239 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005929/0.934, allocations: 429.7 kB / 0.8243 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.9372, allocations: 0.8713 MB / 0.8252 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.9374, allocations: 86 kB / 0.8253 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004023/0.9378, allocations: 111.9 kB / 0.8254 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005867/0.9437, allocations: 1.343 MB / 0.8267 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.186e-05/0.9438, allocations: 3.938 kB / 0.8267 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.9441, allocations: 47.98 kB / 0.8267 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.9443, allocations: 65.97 kB / 0.8268 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007527/0.9519, allocations: 1.588 MB / 0.8283 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.9668, allocations: 4.796 MB / 0.833 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006069/0.9729, allocations: 1.147 MB / 0.8341 GB, free: 3.238 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/0.9745, allocations: 0.5503 MB / 0.8347 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002989/0.9775, allocations: 0.6391 MB / 0.8353 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=94): time 5.71e-06/0.9775, allocations: 0 / 0.8353 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95): time 0.01026/0.9878, allocations: 2.249 MB / 0.8375 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.988, allocations: 222.6 kB / 0.8377 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.9897, allocations: 0.8255 MB / 0.8385 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002622/0.99, allocations: 49.7 kB / 0.8386 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005955/0.9906, allocations: 0.5 MB / 0.8391 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.9911, allocations: 319.2 kB / 0.8394 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.9912, allocations: 20 kB / 0.8394 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.9914, allocations: 341.9 kB / 0.8397 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.993, allocations: 413.8 kB / 0.8401 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.9952, allocations: 0.5935 MB / 0.8407 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.9971, allocations: 0.5585 MB / 0.8412 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.9971, allocations: 112 / 0.8412 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005992/1.003, allocations: 1.478 MB / 0.8427 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000612/1.004, allocations: 1.312 MB / 0.8439 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.004, allocations: 4 kB / 0.844 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/1.006, allocations: 260.5 kB / 0.8442 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/1.008, allocations: 223.7 kB / 0.8444 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/1.013, allocations: 2.043 MB / 0.8464 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.015, allocations: 103.5 kB / 0.8465 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/1.015, allocations: 47.97 kB / 0.8466 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.015, allocations: 8 kB / 0.8466 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004069/1.019, allocations: 1.172 MB / 0.8477 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.019, allocations: 4 kB / 0.8477 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.019, allocations: 11.95 kB / 0.8477 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/1.021, allocations: 223.7 kB / 0.8479 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.021, allocations: 4 kB / 0.8479 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.023, allocations: 119.5 kB / 0.8481 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/1.023, allocations: 43.97 kB / 0.8481 GB, free: 4.328 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001007/1.024, allocations: 416.9 kB / 0.8485 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/1.025, allocations: 110.7 kB / 0.8486 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/1.031, allocations: 1.485 MB / 0.85 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/1.031, allocations: 8 kB / 0.8501 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.031, allocations: 0 / 0.8501 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/1.031, allocations: 11.98 kB / 0.8501 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00896/1.04, allocations: 2.764 MB / 0.8528 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.04, allocations: 4.188 kB / 0.8528 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/1.042, allocations: 207.7 kB / 0.853 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/1.043, allocations: 208.6 kB / 0.8532 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/1.044, allocations: 27.98 kB / 0.8532 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003354/1.047, allocations: 1.874 MB / 0.855 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.047, allocations: 4.031 kB / 0.855 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005551/1.053, allocations: 1.556 MB / 0.8565 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.054, allocations: 379.5 kB / 0.8569 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/1.054, allocations: 16 kB / 0.8569 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/1.056, allocations: 104.6 kB / 0.857 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/1.056, allocations: 84.81 kB / 0.8571 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.056, allocations: 31.98 kB / 0.8571 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001258/1.057, allocations: 0.6004 MB / 0.8577 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/1.057, allocations: 0 / 0.8577 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002389/1.06, allocations: 488 kB / 0.8582 GB, free: 9.648 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (101): * Single equations (assignments): 98 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008059/1.068, allocations: 3.195 MB / 0.8613 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00667/1.075, allocations: 2.053 MB / 0.8633 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.075, allocations: 0 / 0.8633 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/1.077, allocations: 0.6997 MB / 0.864 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/1.079, allocations: 232.1 kB / 0.8642 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/1.088, allocations: 5.478 MB / 0.8696 GB, free: 13.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.09, allocations: 1.185 MB / 0.8707 GB, free: 12.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003112/1.093, allocations: 494.8 kB / 0.8712 GB, free: 12.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.094, allocations: 463.2 kB / 0.8716 GB, free: 11.73 MB / 0.698 GB Notification: Performance of SimCode: time 9.71e-07/1.094, allocations: 0 / 0.8716 GB, free: 11.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08904/1.183, allocations: 25.59 MB / 0.8966 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003768/1.184, allocations: 310.4 kB / 0.8969 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.604/4.787, allocations: 0 / 0.8969 GB, free: 2.027 MB / 0.7136 GB