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.009086/0.009086, allocations: 111.2 kB / 15.06 MB, free: 5.965 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.001179/0.001179, allocations: 180 kB / 15.94 MB, free: 5.93 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.064/2.064, allocations: 194.6 MB / 211.3 MB, free: 11.12 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.168/2.168, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007827/0.000783, allocations: 16 kB / 0.587 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5956/0.5964, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.983/6.579, allocations: 2.206 GB / 2.889 GB, free: 198 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/6.58, allocations: 121.8 kB / 2.889 GB, free: 197.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1951/6.775, allocations: 57.48 MB / 2.946 GB, free: 149.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.513e-06/6.775, allocations: 0 / 2.946 GB, free: 149.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001035/6.775, allocations: 39.92 kB / 2.946 GB, free: 149.2 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.003412/6.778, allocations: 1.597 MB / 2.947 GB, free: 147.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/6.778, allocations: 8.031 kB / 2.947 GB, free: 147.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/6.782, allocations: 412.9 kB / 2.948 GB, free: 147.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/6.784, allocations: 0.7628 MB / 2.948 GB, free: 146.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/6.784, allocations: 78.58 kB / 2.948 GB, free: 146.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/6.784, allocations: 107.8 kB / 2.948 GB, free: 146.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/6.787, allocations: 1.347 MB / 2.95 GB, free: 145.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.018e-05/6.788, allocations: 4 kB / 2.95 GB, free: 145.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/6.788, allocations: 52.69 kB / 2.95 GB, free: 145.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.848e-05/6.788, allocations: 57.36 kB / 2.95 GB, free: 145.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/6.792, allocations: 1.596 MB / 2.951 GB, free: 144.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008364/6.8, allocations: 4.79 MB / 2.956 GB, free: 139.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/6.803, allocations: 1.164 MB / 2.957 GB, free: 139.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007473/6.804, allocations: 0.5487 MB / 2.958 GB, free: 138.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/6.806, allocations: 0.6446 MB / 2.958 GB, free: 138 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 4.932e-06/6.806, allocations: 0 / 2.958 GB, free: 138 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.006432/6.812, allocations: 2.192 MB / 2.961 GB, free: 136 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/6.812, allocations: 274 kB / 2.961 GB, free: 135.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/6.814, allocations: 0.8092 MB / 2.962 GB, free: 134.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/6.814, allocations: 53.69 kB / 2.962 GB, free: 134.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/6.814, allocations: 0.4961 MB / 2.962 GB, free: 134.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/6.815, allocations: 319.4 kB / 2.962 GB, free: 134 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/6.815, allocations: 16 kB / 2.962 GB, free: 134 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/6.815, allocations: 349.9 kB / 2.963 GB, free: 133.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/6.816, allocations: 413.8 kB / 2.963 GB, free: 133.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/6.817, allocations: 0.6105 MB / 2.964 GB, free: 132.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/6.819, allocations: 0.5624 MB / 2.964 GB, free: 132 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.275e-06/6.819, allocations: 3.984 kB / 2.964 GB, free: 132 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003965/6.823, allocations: 1.455 MB / 2.966 GB, free: 130.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000289/6.823, allocations: 1.213 MB / 2.967 GB, free: 129.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/6.823, allocations: 0 / 2.967 GB, free: 129.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000995/6.824, allocations: 212.6 kB / 2.967 GB, free: 129 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/6.826, allocations: 227.6 kB / 2.967 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000655/6.826, allocations: 0.646 MB / 2.968 GB, free: 128.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/6.828, allocations: 119.4 kB / 2.968 GB, free: 128 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/6.828, allocations: 39.97 kB / 2.968 GB, free: 127.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/6.828, allocations: 4 kB / 2.968 GB, free: 127.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003169/6.831, allocations: 1.176 MB / 2.969 GB, free: 126.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/6.831, allocations: 4 kB / 2.969 GB, free: 126.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/6.831, allocations: 7.938 kB / 2.969 GB, free: 126.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/6.833, allocations: 224 kB / 2.97 GB, free: 126.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/6.833, allocations: 15.94 kB / 2.97 GB, free: 126.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/6.834, allocations: 103.5 kB / 2.97 GB, free: 126.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/6.834, allocations: 47.97 kB / 2.97 GB, free: 126.3 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.0009184/6.835, allocations: 420.8 kB / 2.97 GB, free: 125.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/6.835, allocations: 106.8 kB / 2.97 GB, free: 125.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004342/6.84, allocations: 1.493 MB / 2.972 GB, free: 124.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/6.84, allocations: 11.95 kB / 2.972 GB, free: 124.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-06/6.84, allocations: 8 kB / 2.972 GB, free: 124.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/6.84, allocations: 3.984 kB / 2.972 GB, free: 124.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006313/6.846, allocations: 2.807 MB / 2.974 GB, free: 121.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/6.846, allocations: 7.938 kB / 2.974 GB, free: 121.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/6.847, allocations: 203.7 kB / 2.975 GB, free: 121.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000926/6.848, allocations: 212.6 kB / 2.975 GB, free: 121 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/6.848, allocations: 31.94 kB / 2.975 GB, free: 120.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/6.851, allocations: 1.878 MB / 2.977 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.721e-06/6.851, allocations: 7.938 kB / 2.977 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003835/6.855, allocations: 1.568 MB / 2.978 GB, free: 117.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008739/6.856, allocations: 367.3 kB / 2.979 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/6.856, allocations: 24 kB / 2.979 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/6.857, allocations: 107.8 kB / 2.979 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/6.857, allocations: 76.84 kB / 2.979 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/6.857, allocations: 43.92 kB / 2.979 GB, free: 116.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001186/6.859, allocations: 0.6513 MB / 2.979 GB, free: 116 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.16e-07/6.859, allocations: 4 kB / 2.979 GB, free: 116 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002608/6.861, allocations: 0.5466 MB / 2.98 GB, free: 115.4 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.002275/6.864, allocations: 0.7124 MB / 2.981 GB, free: 114.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004786/6.868, allocations: 1.952 MB / 2.983 GB, free: 112.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.656e-06/6.868, allocations: 4 kB / 2.983 GB, free: 112.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/6.87, allocations: 0.7037 MB / 2.983 GB, free: 112.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/6.872, allocations: 233.8 kB / 2.984 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/6.877, allocations: 2.809 MB / 2.986 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/6.878, allocations: 1.185 MB / 2.987 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002453/6.88, allocations: 475 kB / 2.988 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/6.881, allocations: 119.3 kB / 2.988 GB, free: 107.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.068e-06/6.881, allocations: 0 / 2.988 GB, free: 107.3 MB / 0.823 GB Notification: Performance of Templates: time 0.03856/6.92, allocations: 16.46 MB / 3.004 GB, free: 90.96 MB / 0.823 GB