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"}) Notification: Performance of loadModel(ObjectStab): time 1.807/1.807, allocations: 178.4 MB / 185.9 MB, free: 15.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.23e-05, allocations: 4 kB / 232.1 MB, free: 2.109 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09388, allocations: 40.43 MB / 272.5 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.483, allocations: 76.77 MB / 349.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4833, allocations: 63.91 kB / 349.4 MB, free: 6.395 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.4186/0.9019, allocations: 80.83 MB / 430.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.902, allocations: 0 / 430.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006307/0.9026, allocations: 83.94 kB / 430.3 MB, free: 11.63 MB / 362.7 MB 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.02555/0.9282, allocations: 4.154 MB / 434.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.838e-05/0.9283, allocations: 8.031 kB / 434.4 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.9315, allocations: 430.9 kB / 434.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.9421, allocations: 2.618 MB / 437.5 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005772/0.9427, allocations: 275.3 kB / 437.7 MB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/0.9446, allocations: 179.8 kB / 437.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01333/0.958, allocations: 3.415 MB / 441.3 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2714/1.229, allocations: 2.976 MB / 444.3 MB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.883e-05/1.23, allocations: 0 / 444.3 MB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006775/1.23, allocations: 4.219 kB / 444.3 MB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-05/1.23, allocations: 61.44 kB / 444.4 MB, free: 81.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0459/1.276, allocations: 10.98 MB / 455.3 MB, free: 80.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/1.297, allocations: 5.575 MB / 460.9 MB, free: 79.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005472/1.303, allocations: 1.846 MB / 462.8 MB, free: 79.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008099/1.304, allocations: 62.56 kB / 462.8 MB, free: 79.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006405/1.31, allocations: 1.945 MB / 464.8 MB, free: 79.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=335): time 8.666e-06/1.31, allocations: 0 / 464.8 MB, free: 79.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=536): time 0.6464/1.956, allocations: 95.99 MB / 0.5476 GB, free: 18.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/1.957, allocations: 419.6 kB / 0.548 GB, free: 18.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005007/1.962, allocations: 2.124 MB / 0.5501 GB, free: 16.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002033/1.964, allocations: 29.7 kB / 0.5501 GB, free: 16.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/1.965, allocations: 1.253 MB / 0.5514 GB, free: 14.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005546/1.971, allocations: 1.787 MB / 0.5531 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00175/1.973, allocations: 0 / 0.5531 GB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003228/1.973, allocations: 497 kB / 0.5536 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01663/1.99, allocations: 6.971 MB / 0.5604 GB, free: 5.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2856/2.275, allocations: 7.51 MB / 0.5677 GB, free: 67.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02122/2.296, allocations: 7.311 MB / 0.5749 GB, free: 67.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.335e-05/2.297, allocations: 2.25 kB / 0.5749 GB, free: 67.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.1872/2.484, allocations: 25.07 MB / 0.5993 GB, free: 66.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/2.484, allocations: 6.438 kB / 0.5993 GB, free: 66.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/2.484, allocations: 7.906 kB / 0.5994 GB, free: 66.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09744/2.581, allocations: 11.12 MB / 0.6102 GB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01702/2.598, allocations: 2.043 MB / 0.6122 GB, free: 66.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1931/2.792, allocations: 62.01 MB / 0.6728 GB, free: 16.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1108/2.902, allocations: 3.662 MB / 0.6763 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003592/2.906, allocations: 0.4916 MB / 0.6768 GB, free: 14.39 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in equation system with 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 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 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 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: 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 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: 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 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.005092/2.911, allocations: 253.7 kB / 0.6771 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.6662/3.577, allocations: 55.23 MB / 0.731 GB, free: 71.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003968/3.582, allocations: 373.9 kB / 0.7314 GB, free: 71.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3779/3.959, allocations: 55.7 MB / 0.7858 GB, free: 54.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3201/4.28, allocations: 42.21 MB / 0.827 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-05/4.28, allocations: 24 kB / 0.827 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002195/4.28, allocations: 27.89 kB / 0.827 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6976/4.978, allocations: 70.61 MB / 0.896 GB, free: 62.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.646e-05/4.978, allocations: 3 kB / 0.896 GB, free: 62.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01008/4.988, allocations: 0.8041 MB / 0.8968 GB, free: 62.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2696/5.258, allocations: 31.93 MB / 0.928 GB, free: 52.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002915/5.261, allocations: 278.3 kB / 0.9282 GB, free: 52.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8761/6.137, allocations: 105.7 MB / 1.031 GB, free: 62.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1759/6.313, allocations: 31.19 MB / 1.062 GB, free: 46.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3385/6.651, allocations: 54.32 MB / 1.115 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01007/6.661, allocations: 2.393 MB / 1.117 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003772/6.665, allocations: 39.97 kB / 1.117 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06217/6.727, allocations: 1.832 MB / 1.119 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.293/7.02, allocations: 0.7325 MB / 1.12 GB, free: 65.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003109/7.024, allocations: 342 kB / 1.12 GB, free: 65.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00479/7.028, allocations: 1.598 MB / 1.122 GB, free: 65.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.312e-06/7.028, allocations: 0 / 1.122 GB, free: 65.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.05815/7.087, allocations: 14.82 MB / 1.136 GB, free: 65.79 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: 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.3462/7.433, allocations: 55.27 MB / 1.19 GB, free: 60.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.06985/7.503, allocations: 21.09 MB / 1.211 GB, free: 44.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/7.503, allocations: 256 / 1.211 GB, free: 44.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09233/7.595, allocations: 23.8 MB / 1.234 GB, free: 23.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01365/7.609, allocations: 414.3 kB / 1.234 GB, free: 22.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08813/7.697, allocations: 18.56 MB / 1.253 GB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005194/7.702, allocations: 3.257 MB / 1.256 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.009621/7.712, allocations: 0.996 MB / 1.257 GB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2964/8.008, allocations: 2.894 MB / 1.26 GB, free: 80.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/8.009, allocations: 0 / 1.26 GB, free: 80.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9919/9, allocations: 281.4 MB / 1.534 GB, free: 12.01 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/9.001, allocations: 114.4 kB / 1.534 GB, free: 11.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/20.08, allocations: 8.031 kB / 1.534 GB, free: 11.81 MB / 410.7 MB