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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ObjectStab with version 1.1 Dev (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ObjectStab): time 1.547/1.547, allocations: 178.3 MB / 185.6 MB, free: 10.27 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1404/1.688, allocations: 46.04 MB / 231.6 MB, free: 12.17 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/1.932, allocations: 40.43 MB / 272.1 MB, free: 4.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/2.117, allocations: 75.36 MB / 347.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/2.117, allocations: 67.95 kB / 347.5 MB, free: 9.16 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 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.7454/2.862, allocations: 81.38 MB / 428.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/2.862, allocations: 8 kB / 428.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/2.865, allocations: 403.2 kB / 429.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00931/2.875, allocations: 2.551 MB / 431.8 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004394/2.875, allocations: 207.4 kB / 432 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001576/2.877, allocations: 163.8 kB / 432.2 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01243/2.889, allocations: 3.325 MB / 435.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/2.9, allocations: 2.81 MB / 438.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.88e-05/2.9, allocations: 0 / 438.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000598/2.901, allocations: 7.906 kB / 438.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/2.901, allocations: 56 kB / 438.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/2.944, allocations: 10.3 MB / 448.7 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02108/2.965, allocations: 4.288 MB / 453 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006239/2.971, allocations: 1.765 MB / 454.7 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/2.972, allocations: 62.45 kB / 454.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007585/2.98, allocations: 1.914 MB / 456.7 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of pre-optimization done (n=323): time 8.045e-06/2.98, allocations: 0 / 456.7 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of matching and sorting (n=514): time 0.8562/3.836, allocations: 90.41 MB / 0.5343 GB, free: 93.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/3.836, allocations: 410.3 kB / 0.5347 GB, free: 92.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006198/3.842, allocations: 2.097 MB / 0.5368 GB, free: 92.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002139/3.844, allocations: 26.61 kB / 0.5368 GB, free: 92.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008387/3.845, allocations: 0.6781 MB / 0.5374 GB, free: 92.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005327/3.851, allocations: 1.713 MB / 0.5391 GB, free: 90.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/3.853, allocations: 0 / 0.5391 GB, free: 90.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003801/3.853, allocations: 499 kB / 0.5396 GB, free: 90.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01836/3.872, allocations: 6.903 MB / 0.5463 GB, free: 85.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01878/3.89, allocations: 7.429 MB / 0.5536 GB, free: 78.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01904/3.91, allocations: 7.24 MB / 0.5607 GB, free: 70.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/3.91, allocations: 4 kB / 0.5607 GB, free: 70.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=618) (initialization): time 0.2139/4.124, allocations: 25.35 MB / 0.5854 GB, free: 45.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/4.124, allocations: 6.812 kB / 0.5854 GB, free: 45.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/4.124, allocations: 8 kB / 0.5854 GB, free: 45.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1173/4.241, allocations: 11.35 MB / 0.5965 GB, free: 34.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0193/4.26, allocations: 2.143 MB / 0.5986 GB, free: 32.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3365/4.597, allocations: 58.54 MB / 0.6558 GB, free: 78.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1206/4.717, allocations: 2.681 MB / 0.6584 GB, free: 78.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003687/4.721, allocations: 491 kB / 0.6589 GB, free: 78.14 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: G3.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real G3.T.va:DUMMY_STATE(flow=false unit = "1" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: L1011.T2.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real L9.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real L89_2.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real L78_1.T2.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real L78_2.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real G4.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real G4.T.va:DUMMY_STATE(flow=false unit = "1" ) type: Real L7.T.va:DUMMY_STATE(flow=false unit = "1" ) type: Real L56.T2.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real G1.T.va:DUMMY_STATE(flow=false unit = "1" ) type: Real G1.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real T410.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real T410.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real L9.V:DUMMY_STATE(unit = "1" ) "Voltage Amplitude" type: Real T26.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real T26.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real T15.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real T15.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real L7.V:DUMMY_STATE(unit = "1" ) "Voltage Amplitude" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: G3.iq:DUMMY_STATE(unit = "1" ) "dq Armature Current" type: Real G3.lam1d:DUMMY_STATE() type: Real G3.lam1q:DUMMY_STATE() type: Real G3.vq:DUMMY_STATE(unit = "1" ) "dq Armature Voltage" type: Real G3.vd:DUMMY_STATE(unit = "1" ) type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: G3.Gov.Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: G3.Exc.Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: G4.iq:DUMMY_STATE(unit = "1" ) "dq Armature Current" type: Real G4.lam1d:DUMMY_STATE() type: Real G4.lam1q:DUMMY_STATE() type: Real G4.vq:DUMMY_STATE(unit = "1" ) "dq Armature Voltage" type: Real G4.vd:DUMMY_STATE(unit = "1" ) type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: G4.Gov.Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: G4.Exc.Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: G2.iq:DUMMY_STATE(unit = "1" ) "dq Armature Current" type: Real G2.lam1d:DUMMY_STATE() type: Real G2.lam2q:DUMMY_STATE() type: Real G2.vq:DUMMY_STATE(unit = "1" ) "dq Armature Voltage" type: Real G2.vd:DUMMY_STATE(unit = "1" ) type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: G2.Gov.Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: G2.Exc.Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: G1.lam1q:DUMMY_STATE() type: Real G1.iq:DUMMY_STATE(unit = "1" ) "dq Armature Current" type: Real G1.lam1d:DUMMY_STATE() type: Real G1.vd:DUMMY_STATE(unit = "1" ) type: Real G1.vq:DUMMY_STATE(unit = "1" ) "dq Armature Voltage" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: G1.Gov.Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: G1.Exc.Limiter.u:VARIABLE() "Connector of Real input signal" type: Real 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 (337): * Single equations (assignments): 316 * 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.004669/4.726, allocations: 234.8 kB / 0.6591 GB, free: 78.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003213/4.729, allocations: 358.8 kB / 0.6594 GB, free: 77.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4764/5.206, allocations: 52.67 MB / 0.7109 GB, free: 65.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4083/5.614, allocations: 41.66 MB / 0.7515 GB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.777e-05/5.614, allocations: 20 kB / 0.7516 GB, free: 24.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000154/5.614, allocations: 27.3 kB / 0.7516 GB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5995/6.214, allocations: 69.59 MB / 0.8196 GB, free: 78.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.777e-05/6.214, allocations: 0 / 0.8196 GB, free: 78.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01425/6.228, allocations: 0.7957 MB / 0.8203 GB, free: 78.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3922/6.62, allocations: 31.71 MB / 0.8513 GB, free: 66.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002841/6.623, allocations: 277.7 kB / 0.8516 GB, free: 65.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5505/7.174, allocations: 103.8 MB / 0.953 GB, free: 77.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1862/7.36, allocations: 26.87 MB / 0.9792 GB, free: 64.42 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4155/7.776, allocations: 53.76 MB / 1.032 GB, free: 18.98 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.6935/8.469, allocations: 65.81 MB / 1.096 GB, free: 79.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01014/8.479, allocations: 2.36 MB / 1.098 GB, free: 78.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004043/8.484, allocations: 44.45 kB / 1.098 GB, free: 78.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06982/8.553, allocations: 1.313 MB / 1.1 GB, free: 78.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003614/8.557, allocations: 473.4 kB / 1.1 GB, free: 78.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002028/8.559, allocations: 339.7 kB / 1.1 GB, free: 78.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.003845/8.563, allocations: 1.576 MB / 1.102 GB, free: 77.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.05309/8.616, allocations: 14.71 MB / 1.116 GB, free: 69.78 MB / 346.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.002472/8.619, allocations: 168.9 kB / 1.116 GB, free: 69.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1105/8.729, allocations: 21.34 MB / 1.137 GB, free: 50.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/8.729, allocations: 0 / 1.137 GB, free: 50.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09902/8.828, allocations: 20.56 MB / 1.157 GB, free: 31.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01315/8.841, allocations: 393.7 kB / 1.158 GB, free: 31.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08323/8.925, allocations: 17.86 MB / 1.175 GB, free: 13.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01489/8.94, allocations: 4.391 MB / 1.179 GB, free: 8.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.704e-06/8.94, allocations: 0 / 1.179 GB, free: 8.82 MB / 346.7 MB