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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.005/4.005, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.375e-05, allocations: 5.359 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.671/6.873, allocations: 2.216 GB / 2.851 GB, free: 86.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/6.873, allocations: 99.06 kB / 2.851 GB, free: 86.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2161/7.089, allocations: 55.99 MB / 2.906 GB, free: 38.74 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.044e-06/7.089, allocations: 0 / 2.906 GB, free: 38.74 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001128/7.089, allocations: 36 kB / 2.906 GB, free: 38.7 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.003347/7.093, allocations: 1.444 MB / 2.907 GB, free: 37.27 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/7.093, allocations: 8.031 kB / 2.907 GB, free: 37.27 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003346/7.093, allocations: 168 kB / 2.907 GB, free: 37.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004255/7.097, allocations: 421.5 kB / 2.908 GB, free: 36.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/7.1, allocations: 0.7597 MB / 2.908 GB, free: 36.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/7.1, allocations: 78.09 kB / 2.908 GB, free: 36.01 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/7.1, allocations: 104 kB / 2.908 GB, free: 35.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/7.103, allocations: 1.289 MB / 2.91 GB, free: 34.53 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/7.103, allocations: 4 kB / 2.91 GB, free: 34.53 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/7.103, allocations: 51.95 kB / 2.91 GB, free: 34.48 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-05/7.103, allocations: 49.98 kB / 2.91 GB, free: 34.43 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/7.107, allocations: 1.491 MB / 2.911 GB, free: 32.93 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009841/7.117, allocations: 4.8 MB / 2.916 GB, free: 27.89 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/7.12, allocations: 1.039 MB / 2.917 GB, free: 26.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009838/7.121, allocations: 444.9 kB / 2.917 GB, free: 26.39 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009792/7.122, allocations: 0.5424 MB / 2.918 GB, free: 25.73 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/7.123, allocations: 0.6082 MB / 2.919 GB, free: 25.11 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 3.457e-06/7.123, allocations: 0 / 2.919 GB, free: 25.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.004329/7.127, allocations: 1.466 MB / 2.92 GB, free: 23.62 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/7.127, allocations: 281.8 kB / 2.92 GB, free: 23.28 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/7.129, allocations: 0.8092 MB / 2.921 GB, free: 22.47 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002234/7.129, allocations: 45.7 kB / 2.921 GB, free: 22.42 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/7.13, allocations: 0.4923 MB / 2.922 GB, free: 21.92 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/7.13, allocations: 323.3 kB / 2.922 GB, free: 21.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.506e-05/7.13, allocations: 16 kB / 2.922 GB, free: 21.58 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/7.13, allocations: 341.9 kB / 2.922 GB, free: 21.24 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009542/7.131, allocations: 369.9 kB / 2.923 GB, free: 20.88 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/7.132, allocations: 0.56 MB / 2.923 GB, free: 20.26 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/7.133, allocations: 0.5073 MB / 2.924 GB, free: 19.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/7.133, allocations: 8.031 kB / 2.924 GB, free: 19.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003831/7.137, allocations: 1.353 MB / 2.925 GB, free: 18.34 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002685/7.138, allocations: 1.225 MB / 2.926 GB, free: 17.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/7.138, allocations: 4 kB / 2.926 GB, free: 17.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/7.139, allocations: 212.6 kB / 2.926 GB, free: 16.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/7.141, allocations: 223.7 kB / 2.927 GB, free: 16.58 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007549/7.142, allocations: 0.646 MB / 2.927 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/7.144, allocations: 111.4 kB / 2.927 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/7.144, allocations: 43.97 kB / 2.927 GB, free: 15.75 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/7.144, allocations: 7.938 kB / 2.927 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002509/7.146, allocations: 1.079 MB / 2.928 GB, free: 14.65 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/7.146, allocations: 7.938 kB / 2.928 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/7.146, allocations: 8 kB / 2.928 GB, free: 14.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/7.148, allocations: 227.8 kB / 2.929 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/7.148, allocations: 7.938 kB / 2.929 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/7.15, allocations: 107.6 kB / 2.929 GB, free: 14.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/7.15, allocations: 43.97 kB / 2.929 GB, free: 14.25 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 () * 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.0003595/7.15, allocations: 172.7 kB / 2.929 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/7.151, allocations: 106.7 kB / 2.929 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/7.155, allocations: 1.395 MB / 2.93 GB, free: 12.56 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/7.155, allocations: 11.95 kB / 2.93 GB, free: 12.55 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/7.155, allocations: 0 / 2.93 GB, free: 12.55 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/7.155, allocations: 11.97 kB / 2.93 GB, free: 12.54 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006224/7.161, allocations: 2.697 MB / 2.933 GB, free: 9.762 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/7.162, allocations: 4 kB / 2.933 GB, free: 9.758 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/7.163, allocations: 211.9 kB / 2.933 GB, free: 9.551 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/7.165, allocations: 212.6 kB / 2.933 GB, free: 9.34 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/7.165, allocations: 31.94 kB / 2.934 GB, free: 9.309 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/7.167, allocations: 1.819 MB / 2.935 GB, free: 7.355 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/7.167, allocations: 3.984 kB / 2.935 GB, free: 7.352 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003697/7.171, allocations: 1.477 MB / 2.937 GB, free: 5.789 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/7.172, allocations: 367.3 kB / 2.937 GB, free: 5.41 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/7.172, allocations: 27.92 kB / 2.937 GB, free: 5.383 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/7.174, allocations: 103.9 kB / 2.937 GB, free: 5.281 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/7.174, allocations: 76.58 kB / 2.937 GB, free: 5.207 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/7.174, allocations: 43.97 kB / 2.937 GB, free: 5.164 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001173/7.175, allocations: 0.6475 MB / 2.938 GB, free: 4.523 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.91e-07/7.175, allocations: 3.938 kB / 2.938 GB, free: 4.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002221/7.178, allocations: 0.535 MB / 2.938 GB, free: 3.984 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) * 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.005686/7.183, allocations: 3.087 MB / 2.941 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.5452/7.729, allocations: 1.828 MB / 2.943 GB, free: 266 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/7.729, allocations: 2.625 kB / 2.943 GB, free: 266 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/7.73, allocations: 0.6531 MB / 2.944 GB, free: 265.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/7.732, allocations: 234.7 kB / 2.944 GB, free: 265.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006243/7.739, allocations: 2.058 MB / 2.946 GB, free: 265.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/7.74, allocations: 1.188 MB / 2.947 GB, free: 264.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003756/7.744, allocations: 0.6021 MB / 2.948 GB, free: 264.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009689/7.745, allocations: 448.8 kB / 2.948 GB, free: 264.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.403e-06/7.745, allocations: 1.375 kB / 2.948 GB, free: 264.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09251/7.837, allocations: 26.77 MB / 2.974 GB, free: 263.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/7.838, allocations: 237.2 kB / 2.975 GB, free: 263.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/11.43, allocations: 0 / 2.975 GB, free: 263.1 MB / 0.823 GB