Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.1506/0.1506, allocations: 19.39 MB / 34.64 MB, free: 148 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 181.4 kB / 40.28 MB, free: 6.527 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.7 MB / 271.5 MB, free: 3.246 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008798/0.0008798, allocations: 95.7 kB / 327.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 7.984 kB / 393.3 MB, free: 49.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09814, allocations: 55.19 MB / 448.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.00178/0.09997, allocations: 1.282 MB / 449.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007066/0.1007, allocations: 415.5 kB / 450.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.1008, allocations: 4 kB / 450.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.1008, allocations: 3.938 kB / 450.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.101, allocations: 31.77 kB / 450.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.983e-05/0.1011, allocations: 11.98 kB / 450.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1012, allocations: 91.66 kB / 450.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1014, allocations: 27.97 kB / 450.4 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1015, allocations: 47.73 kB / 450.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1016, allocations: 39.83 kB / 450.5 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1017, allocations: 4 kB / 450.5 MB, free: 8.758 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.1017, allocations: 4 kB / 450.5 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.1017, allocations: 19.86 kB / 450.5 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.1018, allocations: 69.42 kB / 450.6 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.102, allocations: 83.89 kB / 450.6 MB, free: 8.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.102, allocations: 0 / 450.6 MB, free: 8.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.102, allocations: 4 kB / 450.6 MB, free: 8.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.102, allocations: 0 / 450.6 MB, free: 8.574 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006362/0.1026, allocations: 392.5 kB / 451 MB, free: 8.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1027, allocations: 8.031 kB / 451 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.1027, allocations: 8.844 kB / 451 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1029, allocations: 192.2 kB / 451.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.103, allocations: 12.31 kB / 451.2 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.103, allocations: 8.375 kB / 451.2 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1032, allocations: 81.52 kB / 451.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1032, allocations: 0 / 451.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1032, allocations: 7.984 kB / 451.3 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1032, allocations: 0 / 451.3 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.1033, allocations: 43.97 kB / 451.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008298/0.1041, allocations: 430.1 kB / 451.8 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1043, allocations: 62.59 kB / 451.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.1043, allocations: 32.84 kB / 451.9 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.1044, allocations: 0 / 451.9 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1044, allocations: 34.56 kB / 451.9 MB, free: 7.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.1044, allocations: 0 / 451.9 MB, free: 7.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008156/0.1052, allocations: 378.9 kB / 452.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1053, allocations: 55.41 kB / 452.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1055, allocations: 156.7 kB / 452.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1055, allocations: 29.7 kB / 452.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.1056, allocations: 108.1 kB / 452.6 MB, free: 6.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1056, allocations: 31.55 kB / 452.7 MB, free: 6.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.1056, allocations: 4 kB / 452.7 MB, free: 6.285 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1058, allocations: 322.8 kB / 453 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.1058, allocations: 20 kB / 453 MB, free: 5.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.1059, allocations: 55.41 kB / 453.1 MB, free: 5.875 MB / 314.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: G.wg = G.wnom (6.283185307179586 * P = G.wnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.1064, allocations: 262.5 kB / 453.3 MB, free: 5.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1064, allocations: 0 / 453.3 MB, free: 5.59 MB / 314.7 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pcmd = G.Pm [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ G.Pm ; G.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003267/0.1068, allocations: 309.2 kB / 453.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1068, allocations: 8.094 kB / 453.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1068, allocations: 0 / 453.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.597e-05/0.1069, allocations: 16.86 kB / 453.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.107, allocations: 27.98 kB / 453.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.1083, allocations: 2.8 MB / 456.5 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.1083, allocations: 4 kB / 456.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1084, allocations: 4.031 kB / 456.5 MB, free: 2.176 MB / 314.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: G.wg = G.wnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.623e-05/0.1085, allocations: 117.9 kB / 456.6 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1085, allocations: 19.73 kB / 456.6 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.1085, allocations: 16.66 kB / 456.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1085, allocations: 12.05 kB / 456.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1086, allocations: 0 / 456.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1086, allocations: 0 / 456.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.109, allocations: 396.1 kB / 457 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.109, allocations: 4 kB / 457 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.109, allocations: 11.98 kB / 457 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.1092, allocations: 36.86 kB / 457.1 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1092, allocations: 0 / 457.1 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000916/0.1101, allocations: 1.397 MB / 458.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1101, allocations: 0 / 458.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1104, allocations: 233.4 kB / 458.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.1104, allocations: 93.03 kB / 458.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1104, allocations: 160 / 458.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.1105, allocations: 4 kB / 458.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.1106, allocations: 19.92 kB / 458.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.1106, allocations: 4 kB / 458.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.1107, allocations: 111.3 kB / 458.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1107, allocations: 0 / 458.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.111, allocations: 24 kB / 459 MB, free: 15.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (G.thetap,G.deltag) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.809e-05/0.1111, allocations: 109 kB / 459.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.1114, allocations: 178.6 kB / 459.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1114, allocations: 0 / 459.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1115, allocations: 142.6 kB / 459.4 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.1117, allocations: 12.16 kB / 459.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.1125, allocations: 447.5 kB / 459.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1128, allocations: 0.7043 MB / 460.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.1128, allocations: 8.875 kB / 460.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.1129, allocations: 19.47 kB / 460.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1129, allocations: 3.938 kB / 460.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of Templates: time 0.003101/0.116, allocations: 1.018 MB / 461.6 MB, free: 12.74 MB / 330.7 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1)