Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.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.Lineopen,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_Lineopen",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.529/1.529, allocations: 178.3 MB / 185.6 MB, free: 10.36 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1054/1.634, allocations: 46.04 MB / 231.7 MB, free: 12.26 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/1.823, allocations: 40.43 MB / 272.1 MB, free: 4.73 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/1.961, allocations: 76.51 MB / 348.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004107/1.961, allocations: 67.97 kB / 348.7 MB, free: 8.035 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: 646 * Number of variables: 646 Notification: Performance of Generate backend data structure: time 0.6455/2.607, allocations: 85.13 MB / 433.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/2.607, allocations: 8 kB / 433.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/2.61, allocations: 430.9 kB / 434.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/2.62, allocations: 2.653 MB / 436.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005461/2.621, allocations: 283.2 kB / 437.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/2.623, allocations: 171.8 kB / 437.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01387/2.637, allocations: 3.447 MB / 440.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/2.651, allocations: 2.988 MB / 443.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/2.651, allocations: 7.875 kB / 443.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/2.653, allocations: 4 kB / 443.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.622e-05/2.653, allocations: 60 kB / 443.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04909/2.702, allocations: 11.05 MB / 454.9 MB, free: 2.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02172/2.724, allocations: 4.405 MB / 459.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006611/2.731, allocations: 1.848 MB / 461.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/2.731, allocations: 62.55 kB / 461.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008083/2.74, allocations: 1.974 MB / 463.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=335): time 9.117e-06/2.74, allocations: 0 / 463.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=536): time 0.8667/3.606, allocations: 90.75 MB / 0.5409 GB, free: 86.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/3.607, allocations: 415 kB / 0.5413 GB, free: 86.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008553/3.615, allocations: 2.146 MB / 0.5434 GB, free: 84.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002764/3.618, allocations: 29.69 kB / 0.5434 GB, free: 84.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/3.619, allocations: 0.7471 MB / 0.5442 GB, free: 84.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007724/3.627, allocations: 1.78 MB / 0.5459 GB, free: 82.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003524/3.631, allocations: 0 / 0.5459 GB, free: 82.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0006185/3.631, allocations: 0.4902 MB / 0.5464 GB, free: 82.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02743/3.659, allocations: 6.997 MB / 0.5532 GB, free: 77.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02938/3.688, allocations: 7.552 MB / 0.5606 GB, free: 70.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03009/3.718, allocations: 7.353 MB / 0.5678 GB, free: 63.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.846e-05/3.718, allocations: 0 / 0.5678 GB, free: 63.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.2204/3.939, allocations: 25.55 MB / 0.5927 GB, free: 37.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/3.939, allocations: 4 kB / 0.5927 GB, free: 37.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/3.939, allocations: 10.67 kB / 0.5928 GB, free: 37.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1116/4.051, allocations: 11.38 MB / 0.6039 GB, free: 26.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0187/4.069, allocations: 2.147 MB / 0.606 GB, free: 24.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.358/4.427, allocations: 60.35 MB / 0.6649 GB, free: 69.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1252/4.553, allocations: 2.677 MB / 0.6675 GB, free: 69.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003701/4.556, allocations: 498 kB / 0.668 GB, free: 69.78 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.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real L78_1.B1.T2.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real L78_1.L1.Imp.T1.ib: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.va:DUMMY_STATE(flow=false unit = "1" ) type: Real L56.T1.va:DUMMY_STATE(flow=false unit = "1" ) type: Real G2.T.va:DUMMY_STATE(flow=false unit = "1" ) type: Real G2.T.vb:DUMMY_STATE(flow=false 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 T15.T1.ia:DUMMY_STATE(flow=true unit = "1" ) type: Real T15.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real T26.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real T26.T1.ia: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.lam2q: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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: G2.lam1q: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: G4.iq:DUMMY_STATE(unit = "1" ) "dq Armature Current" type: Real G4.lam1d:DUMMY_STATE() type: Real G4.lam2q: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: 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (343): * Single equations (assignments): 322 * 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,(14,68.4%) 100} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,21 73} Notification: Performance of prepare postOptimizeDAE: time 0.004154/4.561, allocations: 237.4 kB / 0.6682 GB, free: 69.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002675/4.563, allocations: 375.4 kB / 0.6686 GB, free: 69.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4268/4.99, allocations: 52.86 MB / 0.7202 GB, free: 55.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.374/5.364, allocations: 41.9 MB / 0.7611 GB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-05/5.364, allocations: 28 kB / 0.7611 GB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001762/5.364, allocations: 30.23 kB / 0.7612 GB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5561/5.92, allocations: 70.32 MB / 0.8298 GB, free: 73.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.156e-05/5.921, allocations: 3.906 kB / 0.8298 GB, free: 73.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01073/5.931, allocations: 0.7977 MB / 0.8306 GB, free: 73.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.296/6.227, allocations: 31.73 MB / 0.8616 GB, free: 58.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003132/6.231, allocations: 279.1 kB / 0.8619 GB, free: 58.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5524/6.783, allocations: 105.5 MB / 0.9649 GB, free: 74.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.158/6.941, allocations: 30.34 MB / 0.9945 GB, free: 56.04 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4/7.341, allocations: 54.13 MB / 1.047 GB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.5795/7.921, allocations: 66.26 MB / 1.112 GB, free: 74.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01084/7.932, allocations: 2.404 MB / 1.114 GB, free: 73.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003957/7.936, allocations: 42.98 kB / 1.114 GB, free: 73.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06638/8.002, allocations: 1.317 MB / 1.116 GB, free: 72.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003861/8.006, allocations: 482 kB / 1.116 GB, free: 72.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00302/8.009, allocations: 345.1 kB / 1.117 GB, free: 72.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.004521/8.014, allocations: 1.611 MB / 1.118 GB, free: 71.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.05714/8.071, allocations: 14.78 MB / 1.133 GB, free: 56.4 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: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 284 * 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 {(14,63.3%) 100} * Non-linear torn systems: 1 {38 108} Notification: Performance of Backend phase and start with SimCode phase: time 0.002799/8.074, allocations: 170.4 kB / 1.133 GB, free: 56.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1211/8.195, allocations: 21.69 MB / 1.154 GB, free: 36.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/8.195, allocations: 8 kB / 1.154 GB, free: 36.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.08919/8.284, allocations: 20.82 MB / 1.174 GB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01937/8.303, allocations: 402.9 kB / 1.175 GB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2793/8.583, allocations: 18.39 MB / 1.193 GB, free: 78.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0153/8.598, allocations: 4.504 MB / 1.197 GB, free: 77.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.713e-06/8.598, allocations: 0 / 1.197 GB, free: 77.61 MB / 346.7 MB