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.009198/0.009198, 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.001154/0.001154, 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 2.095/2.095, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.227/2.227, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.000473, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6173, allocations: 98.72 MB / 0.6834 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.01553/0.6329, allocations: 5.931 MB / 0.6891 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.189/0.8219, allocations: 128.9 MB / 0.815 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.823, allocations: 19.88 kB / 0.815 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.8237, allocations: 178.9 kB / 0.8152 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.8263, allocations: 0.6426 MB / 0.8158 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.8295, allocations: 0.7988 MB / 0.8166 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.8318, allocations: 1.005 MB / 0.8176 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.8346, allocations: 1.253 MB / 0.8188 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008936/0.8355, allocations: 454.2 kB / 0.8193 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008926/0.8364, allocations: 481.9 kB / 0.8197 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.8366, allocations: 47.94 kB / 0.8198 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.8378, allocations: 395.5 kB / 0.8201 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.8382, allocations: 299 kB / 0.8204 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.8385, allocations: 253 kB / 0.8207 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.8408, allocations: 1.54 MB / 0.8222 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.8409, allocations: 0 / 0.8222 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.128e-06/0.8409, allocations: 0 / 0.8222 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.8409, allocations: 0 / 0.8222 GB, free: 15.89 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.003254/0.8442, allocations: 1.519 MB / 0.8237 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.8442, allocations: 8.031 kB / 0.8237 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/0.8474, allocations: 425.7 kB / 0.8241 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.8495, allocations: 0.8713 MB / 0.8249 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.8496, allocations: 74.08 kB / 0.825 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.8498, allocations: 104 kB / 0.8251 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.8536, allocations: 1.359 MB / 0.8264 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/0.8537, allocations: 4 kB / 0.8264 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.8539, allocations: 44 kB / 0.8265 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.854, allocations: 61.98 kB / 0.8265 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004551/0.8586, allocations: 1.588 MB / 0.8281 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009693/0.8683, allocations: 4.803 MB / 0.8328 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/0.8718, allocations: 1.14 MB / 0.8339 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009376/0.8728, allocations: 0.5504 MB / 0.8344 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/0.8746, allocations: 0.6429 MB / 0.835 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=94): time 4.426e-06/0.8746, allocations: 0 / 0.835 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95): time 0.007252/0.8819, allocations: 2.245 MB / 0.8372 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.8821, allocations: 226.5 kB / 0.8375 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.8836, allocations: 0.8333 MB / 0.8383 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.8839, allocations: 49.64 kB / 0.8383 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/0.8844, allocations: 0.5 MB / 0.8388 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/0.8848, allocations: 319.3 kB / 0.8391 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.8849, allocations: 16 kB / 0.8391 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.8851, allocations: 345.9 kB / 0.8395 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.8864, allocations: 417.8 kB / 0.8399 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.8879, allocations: 0.5897 MB / 0.8404 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.8893, allocations: 0.5546 MB / 0.841 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.526e-06/0.8893, allocations: 0 / 0.841 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004361/0.8937, allocations: 1.478 MB / 0.8424 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007222/0.8944, allocations: 1.305 MB / 0.8437 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.8945, allocations: 8 kB / 0.8437 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.8959, allocations: 260.6 kB / 0.8439 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.8974, allocations: 231.6 kB / 0.8442 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.9012, allocations: 2.034 MB / 0.8462 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.9025, allocations: 115.5 kB / 0.8463 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.9027, allocations: 39.98 kB / 0.8463 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.9027, allocations: 0 / 0.8463 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003123/0.9058, allocations: 1.176 MB / 0.8474 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.261e-06/0.9059, allocations: 0 / 0.8474 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.9059, allocations: 8 kB / 0.8475 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.9073, allocations: 239.9 kB / 0.8477 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.9073, allocations: 15.88 kB / 0.8477 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.9084, allocations: 115.3 kB / 0.8478 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.9086, allocations: 39.98 kB / 0.8478 GB, free: 4.504 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.0008682/0.9094, allocations: 416.8 kB / 0.8482 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.9097, allocations: 106.7 kB / 0.8483 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/0.9143, allocations: 1.489 MB / 0.8498 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.9144, allocations: 12 kB / 0.8498 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.867e-06/0.9144, allocations: 0 / 0.8498 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.9144, allocations: 3.984 kB / 0.8498 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006627/0.921, allocations: 2.764 MB / 0.8525 GB, free: 15.61 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.621e-06/0.9211, allocations: 0 / 0.8525 GB, free: 15.61 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.9223, allocations: 203.9 kB / 0.8527 GB, free: 15.41 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.9234, allocations: 212.5 kB / 0.8529 GB, free: 15.2 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/0.9236, allocations: 35.97 kB / 0.8529 GB, free: 15.16 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.9264, allocations: 1.87 MB / 0.8548 GB, free: 13.16 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.146e-06/0.9265, allocations: 7.938 kB / 0.8548 GB, free: 13.15 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.9307, allocations: 1.553 MB / 0.8563 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007829/0.9315, allocations: 371.5 kB / 0.8567 GB, free: 11.13 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.9318, allocations: 20 kB / 0.8567 GB, free: 11.11 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.933, allocations: 111.9 kB / 0.8568 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.9332, allocations: 72.89 kB / 0.8568 GB, free: 10.93 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.9333, allocations: 39.98 kB / 0.8569 GB, free: 10.89 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.001078/0.9344, allocations: 0.5888 MB / 0.8575 GB, free: 10.31 MB / 0.6824 GB Notification: Performance of sort global known variables: time 7.22e-07/0.9344, allocations: 0 / 0.8575 GB, free: 10.31 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.001981/0.9364, allocations: 492 kB / 0.8579 GB, free: 9.832 MB / 0.6824 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.002222/0.9387, allocations: 0.6858 MB / 0.8586 GB, free: 9.332 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.005083/0.9438, allocations: 2.057 MB / 0.8606 GB, free: 7.191 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 8.708e-06/0.9438, allocations: 7.875 kB / 0.8606 GB, free: 7.184 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.9457, allocations: 0.6881 MB / 0.8613 GB, free: 6.488 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.9478, allocations: 245.3 kB / 0.8615 GB, free: 6.254 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005853/0.9537, allocations: 2.764 MB / 0.8642 GB, free: 3.434 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.9548, allocations: 1.185 MB / 0.8654 GB, free: 2.219 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.002542/0.9574, allocations: 479 kB / 0.8658 GB, free: 1.746 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.958, allocations: 123.3 kB / 0.866 GB, free: 1.625 MB / 0.6824 GB Notification: Performance of SimCode: time 1.541e-06/0.958, allocations: 4 kB / 0.866 GB, free: 1.621 MB / 0.6824 GB Notification: Performance of Templates: time 0.07233/1.03, allocations: 16.84 MB / 0.8824 GB, free: 0.9141 MB / 0.698 GB