Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.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.Linefault,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_Linefault",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.627/1.627, allocations: 178.3 MB / 185.6 MB, free: 10.35 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1089/1.736, allocations: 46.03 MB / 231.6 MB, free: 12.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/1.928, allocations: 40.43 MB / 272.1 MB, free: 4.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/2.092, allocations: 76.8 MB / 348.9 MB, free: 7.789 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/2.092, allocations: 71.97 kB / 348.9 MB, free: 7.719 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: 708 * Number of variables: 708 Notification: Performance of Generate backend data structure: time 0.5877/2.68, allocations: 89.09 MB / 438 MB, free: 3.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/2.68, allocations: 8 kB / 438 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/2.683, allocations: 454.6 kB / 438.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/2.694, allocations: 2.772 MB / 441.3 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005241/2.695, allocations: 313.5 kB / 441.6 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/2.696, allocations: 187.9 kB / 441.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0152/2.712, allocations: 3.619 MB / 445.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/2.726, allocations: 3.202 MB / 448.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.063e-05/2.726, allocations: 4 kB / 448.6 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/2.727, allocations: 0 / 448.6 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.083e-05/2.727, allocations: 68 kB / 448.6 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04978/2.777, allocations: 11.93 MB / 460.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02153/2.799, allocations: 4.585 MB / 465.2 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006701/2.806, allocations: 1.955 MB / 467.1 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/2.806, allocations: 70.62 kB / 467.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007746/2.814, allocations: 2.05 MB / 469.2 MB, free: 4.289 MB / 330.7 MB Notification: Performance of pre-optimization done (n=352): time 8.536e-06/2.814, allocations: 4 kB / 469.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=569): time 0.8689/3.683, allocations: 97.95 MB / 0.5539 GB, free: 73.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/3.683, allocations: 419.9 kB / 0.5543 GB, free: 72.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006042/3.689, allocations: 2.224 MB / 0.5565 GB, free: 71.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002084/3.691, allocations: 25.7 kB / 0.5565 GB, free: 71.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008973/3.692, allocations: 0.8116 MB / 0.5573 GB, free: 70.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005791/3.698, allocations: 1.887 MB / 0.5591 GB, free: 69.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/3.7, allocations: 0 / 0.5591 GB, free: 69.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003878/3.701, allocations: 0.4973 MB / 0.5596 GB, free: 68.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02051/3.721, allocations: 7.418 MB / 0.5668 GB, free: 63.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02078/3.742, allocations: 8.025 MB / 0.5747 GB, free: 55.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02149/3.764, allocations: 7.793 MB / 0.5823 GB, free: 47.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-05/3.764, allocations: 5.219 kB / 0.5823 GB, free: 47.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=683) (initialization): time 0.2152/3.979, allocations: 26.87 MB / 0.6085 GB, free: 21.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/3.979, allocations: 4.969 kB / 0.6085 GB, free: 21.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/3.979, allocations: 8 kB / 0.6086 GB, free: 21.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1161/4.095, allocations: 11.95 MB / 0.6202 GB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02297/4.118, allocations: 2.178 MB / 0.6224 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.41/4.528, allocations: 63.54 MB / 0.6844 GB, free: 52.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1361/4.664, allocations: 2.831 MB / 0.6872 GB, free: 52.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005492/4.67, allocations: 0.5188 MB / 0.6877 GB, free: 52.64 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.va:DUMMY_STATE(flow=false unit = "1" ) type: Real L89_2.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real L78_1.B3.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real L78_1.B3.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real L78_1.B1.T2.va:DUMMY_STATE(flow=false unit = "1" ) type: Real L78_1.L1.Imp.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real L78_1.T2.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real L78_1.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real L7.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real L56.T1.va:DUMMY_STATE(flow=false unit = "1" ) type: Real G2.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real G2.T.va:DUMMY_STATE(flow=false unit = "1" ) type: Real G4.T.va:DUMMY_STATE(flow=false unit = "1" ) type: Real G4.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real T15.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real T15.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real T26.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real T26.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real L7.V:DUMMY_STATE(unit = "1" ) "Voltage Amplitude" type: Real T410.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real T410.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real L9.V:DUMMY_STATE(unit = "1" ) "Voltage Amplitude" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: G1.iq:DUMMY_STATE(unit = "1" ) "dq Armature Current" type: Real G1.lam1d:DUMMY_STATE() type: Real G1.lam1q: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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: G2.lam2q:DUMMY_STATE() type: Real G2.iq:DUMMY_STATE(unit = "1" ) "dq Armature Current" type: Real G2.lam1d:DUMMY_STATE() type: Real G2.vd:DUMMY_STATE(unit = "1" ) type: Real G2.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: 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: 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.vd:DUMMY_STATE(unit = "1" ) type: Real G4.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: 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (350): * Single equations (assignments): 329 * 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,(16,68.0%) 114} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,23 87} Notification: Performance of prepare postOptimizeDAE: time 0.006877/4.677, allocations: 247.7 kB / 0.6879 GB, free: 52.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004774/4.682, allocations: 388.8 kB / 0.6883 GB, free: 52.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.481/5.163, allocations: 57.38 MB / 0.7443 GB, free: 30.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5416/5.704, allocations: 45.21 MB / 0.7885 GB, free: 65.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.535e-05/5.705, allocations: 32.05 kB / 0.7885 GB, free: 65.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001851/5.705, allocations: 30.88 kB / 0.7885 GB, free: 65.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.468/6.173, allocations: 76.75 MB / 0.8635 GB, free: 43.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.573e-05/6.173, allocations: 3.719 kB / 0.8635 GB, free: 43.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01106/6.184, allocations: 0.8148 MB / 0.8643 GB, free: 43.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3188/6.503, allocations: 34.91 MB / 0.8984 GB, free: 18.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003073/6.506, allocations: 291.1 kB / 0.8986 GB, free: 18.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.673/7.179, allocations: 124.8 MB / 1.02 GB, free: 23.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3014/7.48, allocations: 33.5 MB / 1.053 GB, free: 68.56 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4581/7.939, allocations: 58.29 MB / 1.11 GB, free: 57.35 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.6529/8.592, allocations: 96.32 MB / 1.204 GB, free: 52.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01127/8.603, allocations: 2.552 MB / 1.207 GB, free: 51.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004451/8.607, allocations: 50.7 kB / 1.207 GB, free: 50.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0725/8.68, allocations: 1.373 MB / 1.208 GB, free: 50.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003871/8.684, allocations: 0.4971 MB / 1.209 GB, free: 50.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002869/8.687, allocations: 370.3 kB / 1.209 GB, free: 50.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.004334/8.691, allocations: 1.671 MB / 1.211 GB, free: 50.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.05945/8.751, allocations: 16.29 MB / 1.226 GB, free: 49.59 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: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (287): * Single equations (assignments): 285 * 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 {(16,60.2%) 114} * Non-linear torn systems: 1 {40 122} Notification: Performance of Backend phase and start with SimCode phase: time 0.002912/8.754, allocations: 173.9 kB / 1.227 GB, free: 49.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1185/8.872, allocations: 22.85 MB / 1.249 GB, free: 29.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/8.872, allocations: 0 / 1.249 GB, free: 29.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1305/9.003, allocations: 22.86 MB / 1.271 GB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01435/9.017, allocations: 427.2 kB / 1.272 GB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2409/9.258, allocations: 21.17 MB / 1.292 GB, free: 74.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01658/9.275, allocations: 4.686 MB / 1.297 GB, free: 73.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.493e-06/9.275, allocations: 0 / 1.297 GB, free: 73.54 MB / 346.7 MB