Running command: "" <> buildModelFMU(ObjectStab.Examples.KundurHJW.System,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_System",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ObjectStab): time 1.891/1.891, allocations: 178.3 MB / 190.4 MB, free: 5.641 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.608e-05, allocations: 4 kB / 233.8 MB, free: 10.15 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2685, allocations: 40.43 MB / 274.2 MB, free: 0.7305 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4097, allocations: 76.11 MB / 350.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.41, allocations: 67.97 kB / 350.4 MB, free: 4.441 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/Base/wRefPin.mo:2:1-14:12:writable] Warning: Connector .ObjectStab.Base.wRefPin is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of FrontEnd - DAE generated: time 0.6829/1.093, allocations: 77.85 MB / 428.3 MB, free: 38.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/1.093, allocations: 4 kB / 428.3 MB, free: 38.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004485/1.093, allocations: 79.88 kB / 428.4 MB, free: 38.39 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.02205/1.116, allocations: 3.962 MB / 432.3 MB, free: 34.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.116, allocations: 8.031 kB / 432.3 MB, free: 34.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001551/1.117, allocations: 332.9 kB / 432.6 MB, free: 34.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/1.119, allocations: 403.3 kB / 433 MB, free: 33.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00812/1.127, allocations: 2.504 MB / 435.5 MB, free: 31.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/1.128, allocations: 304 kB / 435.8 MB, free: 30.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/1.129, allocations: 271.8 kB / 436.1 MB, free: 30.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/1.141, allocations: 3.099 MB / 439.2 MB, free: 27.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.052e-05/1.141, allocations: 0 / 439.2 MB, free: 27.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008422/1.142, allocations: 96 kB / 439.3 MB, free: 27.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/1.142, allocations: 59.95 kB / 439.4 MB, free: 27.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/1.159, allocations: 3.395 MB / 442.8 MB, free: 23.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05284/1.212, allocations: 10.63 MB / 453.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02889/1.241, allocations: 5.548 MB / 458.9 MB, free: 7.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008263/1.249, allocations: 1.86 MB / 460.8 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009831/1.25, allocations: 58.42 kB / 460.9 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009892/1.26, allocations: 1.965 MB / 462.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of pre-optimization done (n=323): time 1.342e-05/1.26, allocations: 0 / 462.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=514): time 1.019/2.279, allocations: 96.59 MB / 0.5463 GB, free: 78.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2781/2.557, allocations: 42.69 MB / 0.588 GB, free: 44.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005075/2.562, allocations: 2.231 MB / 0.5902 GB, free: 42.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001991/2.564, allocations: 111 kB / 0.5903 GB, free: 42.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/2.566, allocations: 1.17 MB / 0.5914 GB, free: 40.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005476/2.571, allocations: 1.781 MB / 0.5932 GB, free: 39.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/2.573, allocations: 93.17 kB / 0.5932 GB, free: 39.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000294/2.573, allocations: 496.7 kB / 0.5937 GB, free: 38.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0176/2.591, allocations: 6.975 MB / 0.6005 GB, free: 31.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01859/2.609, allocations: 7.496 MB / 0.6078 GB, free: 24.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0209/2.63, allocations: 7.323 MB / 0.615 GB, free: 16.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/2.63, allocations: 0 / 0.615 GB, free: 16.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=626) (initialization): time 0.2033/2.834, allocations: 25.29 MB / 0.6397 GB, free: 7.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/2.834, allocations: 13.03 kB / 0.6397 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/2.834, allocations: 4.812 kB / 0.6397 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4284/3.262, allocations: 11.14 MB / 0.6506 GB, free: 92.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01731/3.28, allocations: 2.05 MB / 0.6526 GB, free: 92.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1909/3.471, allocations: 61.35 MB / 0.7125 GB, free: 57.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1106/3.581, allocations: 3.761 MB / 0.7162 GB, free: 57.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003251/3.585, allocations: 493 kB / 0.7167 GB, free: 57.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,G1.online,G2.online,G3.online,G4.online) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 324 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(12,61.1%) 92} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,19 65} Notification: Performance of prepare postOptimizeDAE: time 0.004078/3.589, allocations: 322.9 kB / 0.717 GB, free: 57.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002864/3.592, allocations: 364.6 kB / 0.7173 GB, free: 57.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3635/3.955, allocations: 55.95 MB / 0.7719 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5925/4.548, allocations: 42.36 MB / 0.8133 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.186e-05/4.548, allocations: 19.84 kB / 0.8133 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000144/4.548, allocations: 24.19 kB / 0.8134 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3676/4.916, allocations: 70.62 MB / 0.8823 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.24e-05/4.916, allocations: 0.9688 kB / 0.8823 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009898/4.926, allocations: 0.8109 MB / 0.8831 GB, free: 42.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2444/5.17, allocations: 31.99 MB / 0.9144 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002866/5.173, allocations: 347.1 kB / 0.9147 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6361/5.809, allocations: 91.78 MB / 1.004 GB, free: 75.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1629/5.972, allocations: 30.45 MB / 1.034 GB, free: 45.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6693/6.642, allocations: 54.33 MB / 1.087 GB, free: 90.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01203/6.654, allocations: 2.366 MB / 1.089 GB, free: 90.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003715/6.657, allocations: 120.6 kB / 1.09 GB, free: 90.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06073/6.718, allocations: 1.907 MB / 1.091 GB, free: 90.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005837/6.724, allocations: 0.7046 MB / 1.092 GB, free: 90.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002539/6.727, allocations: 341.3 kB / 1.092 GB, free: 90.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004467/6.731, allocations: 1.707 MB / 1.094 GB, free: 90.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.703e-06/6.731, allocations: 0 / 1.094 GB, free: 90.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.04395/6.775, allocations: 11.99 MB / 1.106 GB, free: 90.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 44 ($STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],G1.Gov.TF.x[1],G1.Exc.AVR.x[1],G1.Exc.WashOut.x_scaled[1],G1.Exc.Phase_Compensation1.x_scaled[1],G1.Exc.Phase_Compensation2.x_scaled[1],G2.Gov.TF.x[1],G2.Exc.AVR.x[1],G2.Exc.WashOut.x_scaled[1],G2.Exc.Phase_Compensation1.x_scaled[1],G2.Exc.Phase_Compensation2.x_scaled[1],G3.Gov.TF.x[1],G3.Exc.AVR.x[1],G3.Exc.WashOut.x_scaled[1],G3.Exc.Phase_Compensation1.x_scaled[1],G3.Exc.Phase_Compensation2.x_scaled[1],G4.Gov.TF.x[1],G4.Exc.AVR.x[1],G4.Exc.WashOut.x_scaled[1],G4.Exc.Phase_Compensation1.x_scaled[1],G4.Exc.Phase_Compensation2.x_scaled[1]) * Number of discrete variables: 5 ($whenCondition1,G1.online,G2.online,G3.online,G4.online) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(12,61.1%) 92} * Non-linear torn systems: 1 {36 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.3416/7.117, allocations: 55.37 MB / 1.16 GB, free: 58.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.07019/7.187, allocations: 20.88 MB / 1.18 GB, free: 37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/7.187, allocations: 0 / 1.18 GB, free: 37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09034/7.277, allocations: 23.65 MB / 1.203 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01335/7.291, allocations: 495.3 kB / 1.204 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4293/7.72, allocations: 18.45 MB / 1.222 GB, free: 99.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004881/7.725, allocations: 3.161 MB / 1.225 GB, free: 98.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009154/7.734, allocations: 0.9873 MB / 1.226 GB, free: 98.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.013/7.747, allocations: 2.813 MB / 1.229 GB, free: 98.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/7.747, allocations: 0 / 1.229 GB, free: 98.35 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.258/9.005, allocations: 288.6 MB / 1.511 GB, free: 108 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/9.005, allocations: 164.9 kB / 1.511 GB, free: 107.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/20.29, allocations: 0 / 1.511 GB, free: 107.8 MB / 410.7 MB