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 ObjectStab with version 1.1 Dev (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01136/0.01137, allocations: 104.6 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00118/0.00118, allocations: 167.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.641/1.641, allocations: 170.9 MB / 187.5 MB, free: 0.8594 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/package.mo): time 0.04553/0.04553, allocations: 7.01 MB / 234 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004542, allocations: 15.92 kB / 284.2 MB, free: 0.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2727, allocations: 40.42 MB / 324.6 MB, free: 33.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.System): time 0.01391/0.2867, allocations: 10.04 MB / 334.7 MB, free: 23.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.2969, allocations: 4.328 MB / 339 MB, free: 18.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.2996, allocations: 39.81 kB / 339 MB, free: 18.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.3018, allocations: 445 kB / 339.5 MB, free: 18.33 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004709/0.3066, allocations: 1.102 MB / 340.6 MB, free: 17.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007279/0.3139, allocations: 2.418 MB / 343 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008279/0.3222, allocations: 3.707 MB / 346.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.3243, allocations: 0.946 MB / 347.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/0.329, allocations: 2.427 MB / 350.1 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005731/0.3348, allocations: 2.92 MB / 353 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001735/0.3366, allocations: 264 kB / 353.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.3381, allocations: 264 kB / 353.5 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.3397, allocations: 1.004 MB / 354.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.341, allocations: 0.5975 MB / 355.1 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006185/0.3472, allocations: 4.138 MB / 359.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3472, allocations: 0 / 359.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.3473, allocations: 0 / 359.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001533/0.3474, allocations: 0 / 359.3 MB, free: 14.46 MB / 266.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.03719/0.3846, allocations: 5.282 MB / 364.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3847, allocations: 8.031 kB / 364.5 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001474/0.3862, allocations: 329 kB / 364.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.3877, allocations: 391.2 kB / 365.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.3996, allocations: 2.667 MB / 367.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/0.4, allocations: 308 kB / 368.2 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009572/0.401, allocations: 259.8 kB / 368.5 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.412, allocations: 3.31 MB / 371.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.335e-05/0.4121, allocations: 0 / 371.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005427/0.4127, allocations: 96 kB / 371.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.595e-05/0.4128, allocations: 56 kB / 371.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/0.427, allocations: 3.817 MB / 375.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04278/0.4698, allocations: 11.2 MB / 386.9 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/0.49, allocations: 5.404 MB / 392.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/0.4908, allocations: 54.39 kB / 392.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008013/0.4989, allocations: 2.153 MB / 394.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=323): time 7.955e-06/0.4989, allocations: 0 / 394.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=455): time 0.8268/1.326, allocations: 50.19 MB / 444.7 MB, free: 67.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/1.326, allocations: 419.4 kB / 445.1 MB, free: 67.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.337, allocations: 2.995 MB / 448.1 MB, free: 64.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00146/1.338, allocations: 105.7 kB / 448.2 MB, free: 64.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.34, allocations: 1.174 MB / 449.4 MB, free: 63.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002528/1.342, allocations: 1.564 MB / 451 MB, free: 61.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000843/1.343, allocations: 84 kB / 451.1 MB, free: 61.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/1.344, allocations: 471.1 kB / 451.5 MB, free: 60.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009022/1.353, allocations: 2.886 MB / 454.4 MB, free: 58.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/1.363, allocations: 3.402 MB / 457.8 MB, free: 54.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/1.374, allocations: 3.143 MB / 461 MB, free: 51.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/1.374, allocations: 4 kB / 461 MB, free: 51.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.2529/1.627, allocations: 16.61 MB / 477.6 MB, free: 34.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/1.627, allocations: 4 kB / 477.6 MB, free: 34.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/1.627, allocations: 8 kB / 477.6 MB, free: 34.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1499/1.777, allocations: 11.07 MB / 488.7 MB, free: 23.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01843/1.795, allocations: 1.74 MB / 490.4 MB, free: 21.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2683/2.064, allocations: 64.55 MB / 0.5419 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/2.077, allocations: 459.6 kB / 0.5424 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/2.078, allocations: 147.9 kB / 0.5425 GB, free: 2.148 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 289 * Array equations: 0 * 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.004101/2.082, allocations: 0.7502 MB / 0.5433 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002082/2.084, allocations: 352.1 kB / 0.5436 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4084/2.493, allocations: 15.57 MB / 0.5588 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.681e-05/2.493, allocations: 44.53 kB / 0.5588 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.127e-05/2.493, allocations: 26.55 kB / 0.5589 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001198/2.493, allocations: 21.42 kB / 0.5589 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1623/2.656, allocations: 22 MB / 0.5804 GB, free: 96.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.667e-05/2.656, allocations: 4 kB / 0.5804 GB, free: 96.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005961/2.662, allocations: 494.9 kB / 0.5808 GB, free: 96.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08595/2.748, allocations: 8.932 MB / 0.5896 GB, free: 87.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001725/2.749, allocations: 151.9 kB / 0.5897 GB, free: 87.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.166/2.915, allocations: 32.65 MB / 0.6216 GB, free: 55.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/2.915, allocations: 0 / 0.6216 GB, free: 55.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1645/3.08, allocations: 19.3 MB / 0.6405 GB, free: 35.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006381/3.086, allocations: 1.175 MB / 0.6416 GB, free: 34.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003341/3.09, allocations: 119.9 kB / 0.6417 GB, free: 34.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01701/3.107, allocations: 443.4 kB / 0.6421 GB, free: 34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004741/3.112, allocations: 381.1 kB / 0.6425 GB, free: 33.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002002/3.114, allocations: 147.8 kB / 0.6426 GB, free: 33.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.01385/3.128, allocations: 2.196 MB / 0.6448 GB, free: 31.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.61e-07/3.128, allocations: 0 / 0.6448 GB, free: 31.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01236/3.14, allocations: 1.746 MB / 0.6465 GB, free: 29.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 44 (G1.w,G1.delta,G1.lamfd,G1.lam1d,G1.lam1q,G1.lam2q,G1.Gov.TF.x_scaled[1],G1.Exc.AVR.x_scaled[1],G1.Exc.WashOut.x_scaled[1],G1.Exc.Phase_Compensation1.x_scaled[1],G1.Exc.Phase_Compensation2.x_scaled[1],G2.w,G2.delta,G2.lamfd,G2.lam1d,G2.lam1q,G2.lam2q,G2.Gov.TF.x_scaled[1],G2.Exc.AVR.x_scaled[1],G2.Exc.WashOut.x_scaled[1],G2.Exc.Phase_Compensation1.x_scaled[1],G2.Exc.Phase_Compensation2.x_scaled[1],G3.w,G3.delta,G3.lamfd,G3.lam1d,G3.lam1q,G3.lam2q,G3.Gov.TF.x_scaled[1],G3.Exc.AVR.x_scaled[1],G3.Exc.WashOut.x_scaled[1],G3.Exc.Phase_Compensation1.x_scaled[1],G3.Exc.Phase_Compensation2.x_scaled[1],G4.w,G4.delta,G4.lamfd,G4.lam1d,G4.lam1q,G4.lam2q,G4.Gov.TF.x_scaled[1],G4.Exc.AVR.x_scaled[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 255 * 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 {12 92} Notification: Performance of Backend phase and start with SimCode phase: time 0.1721/3.312, allocations: 19.99 MB / 0.666 GB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.05038/3.363, allocations: 11.4 MB / 0.6772 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/3.363, allocations: 0 / 0.6772 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2746/3.637, allocations: 5.308 MB / 0.6823 GB, free: 122.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/3.642, allocations: 432.3 kB / 0.6827 GB, free: 122.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05189/3.694, allocations: 17.57 MB / 0.6999 GB, free: 114.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/3.697, allocations: 2.317 MB / 0.7022 GB, free: 113.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003414/3.701, allocations: 446.1 kB / 0.7026 GB, free: 113.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004002/3.705, allocations: 1.43 MB / 0.704 GB, free: 113.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/3.705, allocations: 0 / 0.704 GB, free: 113.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5981/4.303, allocations: 161.1 MB / 0.8613 GB, free: 84.81 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/4.303, allocations: 198.8 kB / 0.8615 GB, free: 84.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/12.57, allocations: 0 / 0.8615 GB, free: 84.56 MB / 378.7 MB