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_prescribed_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_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08063/0.08063, allocations: 19.39 MB / 34.65 MB, free: 276 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.001266/0.001266, allocations: 178.1 kB / 40.28 MB, free: 6.535 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.37/1.37, allocations: 225.7 MB / 271.5 MB, free: 3.305 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.0007964/0.0007967, allocations: 83.75 kB / 327.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003104, allocations: 11.94 kB / 393.3 MB, free: 49.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.09929, allocations: 55.19 MB / 448.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.001703/0.101, allocations: 1.169 MB / 449.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.1018, allocations: 391.6 kB / 450.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.1018, allocations: 0 / 450.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.1019, allocations: 11.92 kB / 450.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.1021, allocations: 15.91 kB / 450.1 MB, free: 9.145 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.673e-05/0.1022, allocations: 11.92 kB / 450.1 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.519e-05/0.1023, allocations: 63.72 kB / 450.2 MB, free: 9.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.1023, allocations: 8 kB / 450.2 MB, free: 9.062 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1025, allocations: 39.84 kB / 450.2 MB, free: 9.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.1026, allocations: 35.84 kB / 450.3 MB, free: 8.988 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1026, allocations: 4 kB / 450.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.36e-05/0.1026, allocations: 4 kB / 450.3 MB, free: 8.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.1026, allocations: 11.92 kB / 450.3 MB, free: 8.969 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.1027, allocations: 57.5 kB / 450.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.928e-05/0.1028, allocations: 40.09 kB / 450.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1028, allocations: 0 / 450.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1028, allocations: 3.938 kB / 450.4 MB, free: 8.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1028, allocations: 0 / 450.4 MB, free: 8.863 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005404/0.1034, allocations: 367.3 kB / 450.7 MB, free: 8.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1034, allocations: 16.02 kB / 450.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1035, allocations: 8.844 kB / 450.8 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1037, allocations: 180.2 kB / 450.9 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1037, allocations: 4.375 kB / 450.9 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1037, allocations: 8.375 kB / 450.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1038, allocations: 61.61 kB / 451 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1039, allocations: 4 kB / 451 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1039, allocations: 0 / 451 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1039, allocations: 4 kB / 451 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.104, allocations: 35.91 kB / 451 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.1045, allocations: 308.7 kB / 451.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.1047, allocations: 90.56 kB / 451.4 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.1048, allocations: 32.95 kB / 451.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.1048, allocations: 3.938 kB / 451.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1048, allocations: 34.56 kB / 451.5 MB, free: 7.566 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1048, allocations: 0 / 451.5 MB, free: 7.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006694/0.1055, allocations: 386.9 kB / 451.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1056, allocations: 51.41 kB / 451.9 MB, free: 7.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1057, allocations: 138.1 kB / 452.1 MB, free: 6.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1057, allocations: 25.7 kB / 452.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.1058, allocations: 99.98 kB / 452.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.1058, allocations: 35.45 kB / 452.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.1058, allocations: 0 / 452.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1059, allocations: 322.8 kB / 452.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.514e-05/0.106, allocations: 23.98 kB / 452.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.1061, allocations: 46.5 kB / 452.6 MB, free: 6.352 MB / 314.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.1065, allocations: 215.6 kB / 452.8 MB, free: 6.113 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1065, allocations: 0 / 452.8 MB, free: 6.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000207/0.1067, allocations: 138.3 kB / 453 MB, free: 5.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1067, allocations: 4 kB / 453 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1068, allocations: 4 kB / 453 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/0.1069, allocations: 28.91 kB / 453 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.107, allocations: 27.92 kB / 453 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.1081, allocations: 1.369 MB / 454.4 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.1082, allocations: 8.781 kB / 454.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-06/0.1082, allocations: 4 kB / 454.4 MB, free: 4.383 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: thetap:VARIABLE(unit = "rad" fixed = true ) "generator and port absolute angles" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Pm = Pcmd. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.1083, allocations: 115.5 kB / 454.5 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.1084, allocations: 7.906 kB / 454.5 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.1084, allocations: 16.47 kB / 454.5 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1084, allocations: 4 kB / 454.5 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1084, allocations: 3.938 kB / 454.5 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1084, allocations: 3.984 kB / 454.5 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.1088, allocations: 376 kB / 454.9 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1089, allocations: 0 / 454.9 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.109, allocations: 19.98 kB / 454.9 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.012e-05/0.1091, allocations: 28.88 kB / 455 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1091, allocations: 0 / 455 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000915/0.11, allocations: 1.377 MB / 456.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.11, allocations: 0 / 456.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.1104, allocations: 233 kB / 456.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.1104, allocations: 88.95 kB / 456.7 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1105, allocations: 12.12 kB / 456.7 MB, free: 1.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.1105, allocations: 4 kB / 456.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1106, allocations: 4 kB / 456.7 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1106, allocations: 4 kB / 456.7 MB, free: 1.852 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.844e-05/0.1107, allocations: 100.3 kB / 456.8 MB, free: 1.754 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1107, allocations: 0 / 456.8 MB, free: 1.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.111, allocations: 24 kB / 456.8 MB, free: 1.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (thetag,thetap,wg) * 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 (8): * Single equations (assignments): 7 * 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 0.0001197/0.1111, allocations: 111.2 kB / 456.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.1114, allocations: 178.6 kB / 457.1 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1114, allocations: 0 / 457.1 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.1116, allocations: 146.7 kB / 457.2 MB, free: 1.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1118, allocations: 12.62 kB / 457.2 MB, free: 1.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.1126, allocations: 483.3 kB / 457.7 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1129, allocations: 0.7004 MB / 458.4 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.441e-05/0.113, allocations: 16.53 kB / 458.4 MB, free: 16 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.113, allocations: 11.44 kB / 458.4 MB, free: 4 kB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.113, allocations: 0 / 458.4 MB, free: 4 kB / 314.7 MB Notification: Performance of Templates: time 0.003661/0.1167, allocations: 0.9753 MB / 459.4 MB, free: 15.03 MB / 330.7 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.makefile (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1)