Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.System.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ObjectStab with version 1.1 Dev (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/package.mo) 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 2.093/2.093, allocations: 178.2 MB / 190.8 MB, free: 5.621 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.883e-05/3.897e-05, allocations: 8 kB / 238.6 MB, free: 5.785 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2614, allocations: 40.42 MB / 279 MB, free: 240 kB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4039, allocations: 76.11 MB / 355.1 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.4042, allocations: 63.97 kB / 355.2 MB, free: 3.949 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.6905/1.095, allocations: 77.9 MB / 433.1 MB, free: 8.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.095, allocations: 0 / 433.1 MB, free: 8.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004632/1.095, allocations: 87.88 kB / 433.2 MB, free: 8.281 MB / 298.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.02197/1.117, allocations: 3.942 MB / 437.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/1.117, allocations: 12.03 kB / 437.1 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002082/1.119, allocations: 332.9 kB / 437.5 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/1.122, allocations: 407.2 kB / 437.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009114/1.131, allocations: 2.512 MB / 440.4 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005593/1.132, allocations: 296 kB / 440.7 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/1.134, allocations: 267.8 kB / 440.9 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/1.147, allocations: 3.123 MB / 444 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/1.147, allocations: 4 kB / 444.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001124/1.148, allocations: 96 kB / 444.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-05/1.148, allocations: 63.95 kB / 444.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/1.162, allocations: 3.427 MB / 447.6 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04469/1.207, allocations: 10.62 MB / 458.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02249/1.23, allocations: 5.601 MB / 463.9 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006379/1.236, allocations: 1.856 MB / 465.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008873/1.237, allocations: 58.39 kB / 465.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00812/1.245, allocations: 1.982 MB / 467.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=323): time 9.237e-06/1.245, allocations: 0 / 467.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=514): time 0.9229/2.168, allocations: 96.6 MB / 0.5511 GB, free: 39.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2912/2.459, allocations: 42.67 MB / 0.5928 GB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007213/2.467, allocations: 2.231 MB / 0.595 GB, free: 12.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002481/2.469, allocations: 113.7 kB / 0.5951 GB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002033/2.471, allocations: 1.164 MB / 0.5962 GB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006919/2.478, allocations: 1.783 MB / 0.598 GB, free: 9.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003099/2.481, allocations: 92 kB / 0.598 GB, free: 9.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005581/2.482, allocations: 496.6 kB / 0.5985 GB, free: 8.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02189/2.504, allocations: 6.979 MB / 0.6053 GB, free: 2.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02309/2.527, allocations: 7.517 MB / 0.6127 GB, free: 10.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02253/2.55, allocations: 7.319 MB / 0.6198 GB, free: 2.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.557e-05/2.55, allocations: 4 kB / 0.6198 GB, free: 2.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=626) (initialization): time 0.4614/3.011, allocations: 25.31 MB / 0.6445 GB, free: 88.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/3.011, allocations: 14.52 kB / 0.6445 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/3.011, allocations: 3.781 kB / 0.6446 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1015/3.113, allocations: 11.14 MB / 0.6554 GB, free: 87.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01726/3.13, allocations: 2.045 MB / 0.6574 GB, free: 87.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2185/3.349, allocations: 61.33 MB / 0.7173 GB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1078/3.456, allocations: 3.751 MB / 0.721 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003815/3.46, allocations: 498.4 kB / 0.7215 GB, free: 37.62 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.004814/3.465, allocations: 328.1 kB / 0.7218 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003733/3.469, allocations: 367.4 kB / 0.7221 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7198/4.189, allocations: 55.94 MB / 0.7767 GB, free: 74.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3252/4.514, allocations: 42.37 MB / 0.8181 GB, free: 70.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-05/4.514, allocations: 19.34 kB / 0.8181 GB, free: 70.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001559/4.514, allocations: 27.86 kB / 0.8182 GB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3764/4.891, allocations: 70.61 MB / 0.8871 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.652e-05/4.891, allocations: 0 / 0.8871 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009938/4.901, allocations: 0.7993 MB / 0.8879 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.5228/5.424, allocations: 32 MB / 0.9192 GB, free: 80.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005935/5.43, allocations: 345.4 kB / 0.9195 GB, free: 80.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4394/5.869, allocations: 91.72 MB / 1.009 GB, free: 44.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1606/6.03, allocations: 30.44 MB / 1.039 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6507/6.681, allocations: 54.33 MB / 1.092 GB, free: 86.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01101/6.692, allocations: 2.364 MB / 1.094 GB, free: 85.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00414/6.696, allocations: 125.3 kB / 1.094 GB, free: 85.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06105/6.757, allocations: 1.906 MB / 1.096 GB, free: 85.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006817/6.764, allocations: 0.7019 MB / 1.097 GB, free: 85.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002717/6.767, allocations: 345.4 kB / 1.097 GB, free: 85.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004564/6.771, allocations: 1.716 MB / 1.099 GB, free: 84.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/6.771, allocations: 0 / 1.099 GB, free: 84.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.04711/6.818, allocations: 11.98 MB / 1.111 GB, free: 77.38 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.3745/7.193, allocations: 55.36 MB / 1.165 GB, free: 25.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.347/7.54, allocations: 21.08 MB / 1.185 GB, free: 97.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/7.54, allocations: 0 / 1.185 GB, free: 97.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09907/7.639, allocations: 23.76 MB / 1.208 GB, free: 95.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01577/7.655, allocations: 493.1 kB / 1.209 GB, free: 95.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08673/7.742, allocations: 18.56 MB / 1.227 GB, free: 92.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004711/7.747, allocations: 3.161 MB / 1.23 GB, free: 92.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008295/7.755, allocations: 0.9849 MB / 1.231 GB, free: 92.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01245/7.767, allocations: 2.814 MB / 1.234 GB, free: 92.01 MB / 394.7 MB Notification: Performance of SimCode: time 2.114e-06/7.767, allocations: 6.75 kB / 1.234 GB, free: 92.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.336/9.103, allocations: 288.9 MB / 1.516 GB, free: 102.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/9.103, allocations: 176.7 kB / 1.516 GB, free: 102 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/20.91, allocations: 0 / 1.516 GB, free: 102 MB / 410.7 MB