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"}) Notification: Performance of loadModel(ObjectStab): time 2.023/2.023, allocations: 178.3 MB / 185.9 MB, free: 12.25 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.247e-05, allocations: 0 / 232.1 MB, free: 15.98 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.09934, allocations: 40.43 MB / 272.5 MB, free: 7.457 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.4891, allocations: 75.45 MB / 348 MB, free: 1.824 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.4894, allocations: 63.97 kB / 348 MB, free: 1.762 MB / 282.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: Performance of FrontEnd - DAE generated: time 0.6676/1.157, allocations: 77.32 MB / 425.3 MB, free: 77.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.157, allocations: 2.625 kB / 425.3 MB, free: 77.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005899/1.158, allocations: 86.14 kB / 425.4 MB, free: 77.87 MB / 346.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.0245/1.182, allocations: 3.948 MB / 429.4 MB, free: 76.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/1.182, allocations: 10.19 kB / 429.4 MB, free: 76.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/1.186, allocations: 410.6 kB / 429.8 MB, free: 76.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/1.197, allocations: 2.51 MB / 432.3 MB, free: 75.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006621/1.198, allocations: 211.7 kB / 432.5 MB, free: 75.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/1.2, allocations: 163 kB / 432.7 MB, free: 75.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01282/1.213, allocations: 3.303 MB / 436 MB, free: 75.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/1.226, allocations: 2.789 MB / 438.8 MB, free: 75.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-05/1.226, allocations: 2.906 kB / 438.8 MB, free: 75.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009108/1.227, allocations: 7.703 kB / 438.8 MB, free: 75.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/1.227, allocations: 54.41 kB / 438.8 MB, free: 75.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04265/1.269, allocations: 10.23 MB / 449.1 MB, free: 73.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/1.289, allocations: 5.415 MB / 454.5 MB, free: 70.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005518/1.295, allocations: 1.767 MB / 456.2 MB, free: 69.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008332/1.296, allocations: 55.56 kB / 456.3 MB, free: 69.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006321/1.302, allocations: 1.881 MB / 458.2 MB, free: 69.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=323): time 8.155e-06/1.302, allocations: 2.906 kB / 458.2 MB, free: 69.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=514): time 0.6544/1.956, allocations: 95.63 MB / 0.5408 GB, free: 2.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002446/1.957, allocations: 407.5 kB / 0.5412 GB, free: 1.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2734/2.23, allocations: 2.06 MB / 0.5432 GB, free: 77.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002164/2.232, allocations: 27.86 kB / 0.5432 GB, free: 77.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/2.235, allocations: 1.168 MB / 0.5444 GB, free: 77.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006522/2.241, allocations: 1.717 MB / 0.5461 GB, free: 77.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002599/2.244, allocations: 2.219 kB / 0.5461 GB, free: 77.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005848/2.244, allocations: 494.5 kB / 0.5465 GB, free: 76.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02082/2.265, allocations: 6.868 MB / 0.5532 GB, free: 76.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02187/2.287, allocations: 7.394 MB / 0.5605 GB, free: 76.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01878/2.306, allocations: 7.21 MB / 0.5675 GB, free: 75.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-05/2.306, allocations: 3.844 kB / 0.5675 GB, free: 75.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=618) (initialization): time 0.1842/2.49, allocations: 24.84 MB / 0.5918 GB, free: 69.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/2.49, allocations: 9.781 kB / 0.5918 GB, free: 69.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/2.49, allocations: 11.09 kB / 0.5918 GB, free: 69.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09866/2.589, allocations: 11.08 MB / 0.6026 GB, free: 68.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01677/2.606, allocations: 2.028 MB / 0.6046 GB, free: 67.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.184/2.79, allocations: 59.87 MB / 0.663 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1029/2.893, allocations: 3.657 MB / 0.6666 GB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003365/2.896, allocations: 494.7 kB / 0.6671 GB, free: 7.738 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: G3.T.va:DUMMY_STATE(flow=false unit = "1" ) type: Real G3.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: L1011.T2.va: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.T2.va:DUMMY_STATE(flow=false unit = "1" ) type: Real L78_1.T1.ib:DUMMY_STATE(flow=true 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 L7.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real L56.T2.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real G1.T.vb:DUMMY_STATE(flow=false unit = "1" ) type: Real G1.T.va:DUMMY_STATE(flow=false unit = "1" ) 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 T26.T1.ib:DUMMY_STATE(flow=true unit = "1" ) type: Real T26.T1.ia:DUMMY_STATE(flow=true 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 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 with 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 with 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.lam1q:DUMMY_STATE() type: Real G4.iq:DUMMY_STATE(unit = "1" ) "dq Armature Current" type: Real G4.lam1d: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 with 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 with 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.lam1q: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 with 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 with 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.vq:DUMMY_STATE(unit = "1" ) "dq Armature Voltage" type: Real G1.vd:DUMMY_STATE(unit = "1" ) type: Real Warning: Iteration variables with default zero start attribute in equation system with 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 with 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.004012/2.9, allocations: 242.1 kB / 0.6673 GB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.6493/3.55, allocations: 54.76 MB / 0.7208 GB, free: 59.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003506/3.553, allocations: 361.2 kB / 0.7211 GB, free: 59.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3889/3.942, allocations: 55.48 MB / 0.7753 GB, free: 25.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5956/4.538, allocations: 41.98 MB / 0.8163 GB, free: 61.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.76e-05/4.538, allocations: 20.44 kB / 0.8163 GB, free: 61.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002334/4.538, allocations: 31.66 kB / 0.8164 GB, free: 61.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3681/4.906, allocations: 69.87 MB / 0.8846 GB, free: 48.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.597e-05/4.907, allocations: 3.172 kB / 0.8846 GB, free: 48.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009686/4.916, allocations: 0.8 MB / 0.8854 GB, free: 48.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2448/5.161, allocations: 31.92 MB / 0.9166 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002623/5.164, allocations: 274.7 kB / 0.9168 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6639/5.828, allocations: 103.8 MB / 1.018 GB, free: 63.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1513/5.979, allocations: 29.84 MB / 1.047 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6209/6.6, allocations: 53.88 MB / 1.1 GB, free: 63.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01048/6.611, allocations: 2.355 MB / 1.102 GB, free: 63.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003832/6.615, allocations: 40.44 kB / 1.102 GB, free: 63.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0592/6.674, allocations: 1.829 MB / 1.104 GB, free: 63.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008059/6.682, allocations: 0.7006 MB / 1.105 GB, free: 63.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003282/6.685, allocations: 337.7 kB / 1.105 GB, free: 63.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006384/6.692, allocations: 1.559 MB / 1.107 GB, free: 63.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.02e-07/6.692, allocations: 0 / 1.107 GB, free: 63.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.09815/6.79, allocations: 14.76 MB / 1.121 GB, free: 63.71 MB / 378.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.4217/7.212, allocations: 54.82 MB / 1.174 GB, free: 46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.07427/7.286, allocations: 20.68 MB / 1.195 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/7.286, allocations: 0 / 1.195 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09132/7.377, allocations: 23.52 MB / 1.218 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01294/7.39, allocations: 396.9 kB / 1.218 GB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4063/7.797, allocations: 18.01 MB / 1.236 GB, free: 76.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01266/7.81, allocations: 3.161 MB / 1.239 GB, free: 75.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01743/7.827, allocations: 0.9818 MB / 1.24 GB, free: 75.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01699/7.844, allocations: 2.811 MB / 1.242 GB, free: 75.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.174e-06/7.844, allocations: 0 / 1.242 GB, free: 75.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.218/9.062, allocations: 276.9 MB / 1.513 GB, free: 96.58 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/9.063, allocations: 111.9 kB / 1.513 GB, free: 96.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/20.16, allocations: 0 / 1.513 GB, free: 96.39 MB / 410.7 MB