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: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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.006713/0.006713, allocations: 231.8 kB / 15.82 MB, free: 6.293 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.001834/0.001834, allocations: 174 kB / 16.7 MB, free: 5.449 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 3.932/3.932, allocations: 389.1 MB / 406.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.898/3.898, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004746, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 98.72 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.829/7.034, allocations: 2.206 GB / 3.311 GB, free: 11.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/7.035, allocations: 119.1 kB / 3.311 GB, free: 11.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7724/7.807, allocations: 57.21 MB / 3.367 GB, free: 263.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.655e-06/7.807, allocations: 0 / 3.367 GB, free: 263.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001362/7.807, allocations: 37.16 kB / 3.367 GB, free: 263.4 MB / 0.823 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.004802/7.812, allocations: 1.589 MB / 3.368 GB, free: 262.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/7.812, allocations: 9.188 kB / 3.368 GB, free: 262.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/7.817, allocations: 426.6 kB / 3.369 GB, free: 262.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/7.82, allocations: 0.76 MB / 3.369 GB, free: 261.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/7.82, allocations: 81.5 kB / 3.369 GB, free: 261.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004043/7.82, allocations: 104.4 kB / 3.37 GB, free: 261.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004719/7.825, allocations: 1.352 MB / 3.371 GB, free: 261.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/7.825, allocations: 1.406 kB / 3.371 GB, free: 261.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/7.825, allocations: 48.52 kB / 3.371 GB, free: 261 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/7.826, allocations: 58.91 kB / 3.371 GB, free: 261 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005814/7.831, allocations: 1.594 MB / 3.373 GB, free: 260.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/7.844, allocations: 4.8 MB / 3.377 GB, free: 257.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/7.849, allocations: 1.151 MB / 3.378 GB, free: 257 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/7.851, allocations: 488.7 kB / 3.379 GB, free: 256.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/7.852, allocations: 0.5507 MB / 3.379 GB, free: 256.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002462/7.854, allocations: 0.6476 MB / 3.38 GB, free: 256 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 4.709e-06/7.854, allocations: 3.609 kB / 3.38 GB, free: 256 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.01059/7.865, allocations: 2.266 MB / 3.382 GB, free: 255.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/7.865, allocations: 276.2 kB / 3.382 GB, free: 254.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/7.867, allocations: 0.9088 MB / 3.383 GB, free: 254.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/7.868, allocations: 49.8 kB / 3.383 GB, free: 254.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/7.868, allocations: 0.4986 MB / 3.384 GB, free: 253.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004826/7.869, allocations: 320.7 kB / 3.384 GB, free: 253.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/7.869, allocations: 16.03 kB / 3.384 GB, free: 253.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/7.869, allocations: 342.3 kB / 3.384 GB, free: 253.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/7.871, allocations: 420.7 kB / 3.385 GB, free: 253.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/7.873, allocations: 0.6087 MB / 3.385 GB, free: 252.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/7.875, allocations: 0.5593 MB / 3.386 GB, free: 252.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/7.875, allocations: 0.5625 kB / 3.386 GB, free: 252.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.006075/7.881, allocations: 1.488 MB / 3.387 GB, free: 252 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/7.881, allocations: 255.9 kB / 3.388 GB, free: 251.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/7.881, allocations: 2.938 kB / 3.388 GB, free: 251.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/7.883, allocations: 266.9 kB / 3.388 GB, free: 251.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/7.885, allocations: 217.7 kB / 3.388 GB, free: 251.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004451/7.89, allocations: 1.987 MB / 3.39 GB, free: 250.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/7.892, allocations: 119.8 kB / 3.39 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/7.892, allocations: 44.38 kB / 3.39 GB, free: 250.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/7.892, allocations: 4.719 kB / 3.39 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004309/7.897, allocations: 1.181 MB / 3.391 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/7.897, allocations: 3.75 kB / 3.391 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/7.897, allocations: 11.19 kB / 3.391 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/7.899, allocations: 229.7 kB / 3.392 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/7.899, allocations: 3.906 kB / 3.392 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/7.9, allocations: 113.4 kB / 3.392 GB, free: 249.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/7.9, allocations: 43.2 kB / 3.392 GB, free: 249.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 106 * 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.001122/7.902, allocations: 420.4 kB / 3.392 GB, free: 249.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/7.902, allocations: 105.6 kB / 3.392 GB, free: 249.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005643/7.908, allocations: 1.488 MB / 3.394 GB, free: 248.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/7.908, allocations: 11.88 kB / 3.394 GB, free: 248.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/7.908, allocations: 0 / 3.394 GB, free: 248.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/7.908, allocations: 12.44 kB / 3.394 GB, free: 248.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/7.916, allocations: 2.82 MB / 3.397 GB, free: 246.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/7.916, allocations: 3.938 kB / 3.397 GB, free: 246.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/7.918, allocations: 203 kB / 3.397 GB, free: 246.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/7.919, allocations: 212.6 kB / 3.397 GB, free: 246.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/7.919, allocations: 35.62 kB / 3.397 GB, free: 246.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/7.922, allocations: 1.824 MB / 3.399 GB, free: 244.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/7.922, allocations: 3.953 kB / 3.399 GB, free: 244.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/7.927, allocations: 1.485 MB / 3.4 GB, free: 243.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/7.928, allocations: 374.3 kB / 3.401 GB, free: 243.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/7.928, allocations: 18.16 kB / 3.401 GB, free: 243.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/7.93, allocations: 112.9 kB / 3.401 GB, free: 243.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/7.931, allocations: 74.88 kB / 3.401 GB, free: 243.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/7.931, allocations: 42.94 kB / 3.401 GB, free: 243.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001735/7.933, allocations: 0.6523 MB / 3.401 GB, free: 243.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.81e-07/7.933, allocations: 0 / 3.401 GB, free: 243.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003612/7.936, allocations: 0.5414 MB / 3.402 GB, free: 243 MB / 0.823 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.002818/7.939, allocations: 0.7202 MB / 3.403 GB, free: 242.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008495/7.948, allocations: 2.069 MB / 3.405 GB, free: 241.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/7.948, allocations: 7.875 kB / 3.405 GB, free: 241.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006535/7.954, allocations: 0.696 MB / 3.405 GB, free: 241 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/7.958, allocations: 243.8 kB / 3.406 GB, free: 240.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/7.979, allocations: 2.828 MB / 3.408 GB, free: 239.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/7.98, allocations: 1.194 MB / 3.41 GB, free: 238.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.008967/7.989, allocations: 473.7 kB / 3.41 GB, free: 238 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004428/7.993, allocations: 109.7 kB / 3.41 GB, free: 238 MB / 0.823 GB Notification: Performance of SimCode: time 1.533e-06/7.994, allocations: 0 / 3.41 GB, free: 238 MB / 0.823 GB Notification: Performance of Templates: time 0.05344/8.047, allocations: 17.01 MB / 3.427 GB, free: 224.4 MB / 0.823 GB