Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_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_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.09727/0.09727, allocations: 19.39 MB / 34.65 MB, free: 140 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.001086/0.001086, allocations: 174.4 kB / 40.28 MB, free: 6.531 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.459/1.459, allocations: 225.7 MB / 271.5 MB, free: 3.273 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.0008227/0.0008228, allocations: 91.09 kB / 327.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 8 kB / 393.3 MB, free: 49.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.0821, allocations: 55.18 MB / 448.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.001598/0.08374, allocations: 1.348 MB / 449.9 MB, free: 9.359 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000611/0.08437, allocations: 423.5 kB / 450.3 MB, free: 8.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.08444, allocations: 7.938 kB / 450.3 MB, free: 8.938 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.08447, allocations: 7.922 kB / 450.3 MB, free: 8.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.08465, allocations: 31.81 kB / 450.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.567e-05/0.08472, allocations: 23.98 kB / 450.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.08487, allocations: 115.5 kB / 450.5 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.08499, allocations: 21.72 kB / 450.5 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.08509, allocations: 51.72 kB / 450.5 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.08518, allocations: 47.77 kB / 450.6 MB, free: 8.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.08521, allocations: 4 kB / 450.6 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.08523, allocations: 4 kB / 450.6 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.08526, allocations: 11.92 kB / 450.6 MB, free: 8.617 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.08533, allocations: 81.36 kB / 450.7 MB, free: 8.531 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.08546, allocations: 99.53 kB / 450.8 MB, free: 8.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.08547, allocations: 0 / 450.8 MB, free: 8.434 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.08548, allocations: 0 / 450.8 MB, free: 8.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.08549, allocations: 0 / 450.8 MB, free: 8.434 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005461/0.08604, allocations: 407 kB / 451.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.08609, allocations: 12.03 kB / 451.2 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.08613, allocations: 16.75 kB / 451.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.08635, allocations: 210.5 kB / 451.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.08637, allocations: 8.125 kB / 451.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.0864, allocations: 12 kB / 451.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.08655, allocations: 77.66 kB / 451.5 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.08656, allocations: 0 / 451.5 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.08658, allocations: 8 kB / 451.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.08659, allocations: 0 / 451.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.08668, allocations: 43.97 kB / 451.6 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.08728, allocations: 392.4 kB / 451.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.08755, allocations: 171.6 kB / 452.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.688e-05/0.08763, allocations: 48.84 kB / 452.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.08765, allocations: 0 / 452.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.08768, allocations: 38.48 kB / 452.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 8.81e-07/0.08768, allocations: 0 / 452.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006832/0.08837, allocations: 442.9 kB / 452.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.08841, allocations: 51.41 kB / 452.7 MB, free: 6.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.08854, allocations: 159 kB / 452.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.08857, allocations: 33.7 kB / 452.9 MB, free: 6.082 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.08863, allocations: 108.2 kB / 453 MB, free: 5.969 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.08866, allocations: 47.3 kB / 453 MB, free: 5.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.08867, allocations: 0 / 453 MB, free: 5.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.08877, allocations: 326.8 kB / 453.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.967e-05/0.08883, allocations: 27.98 kB / 453.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.08891, allocations: 58.56 kB / 453.4 MB, free: 5.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.08932, allocations: 170.4 kB / 453.6 MB, free: 5.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.08933, allocations: 0 / 453.6 MB, free: 5.324 MB / 314.7 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pm = G.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ G.Pcmd ; G.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=18) (initialization): time 0.000476/0.08981, allocations: 342.2 kB / 453.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.08984, allocations: 8 kB / 453.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.08985, allocations: 0 / 453.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.09, allocations: 45.75 kB / 454 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.09011, allocations: 27.92 kB / 454 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.09219, allocations: 4.201 MB / 458.2 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.09228, allocations: 0 / 458.2 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.09229, allocations: 4 kB / 458.2 MB, free: 324 kB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: G.thetap:VARIABLE(unit = "rad" fixed = true ) "generator and port absolute angles" type: Real 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.0924, allocations: 129.8 kB / 458.3 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.09244, allocations: 7.906 kB / 458.3 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.09247, allocations: 20.7 kB / 458.4 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.09248, allocations: 7.938 kB / 458.4 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.09249, allocations: 0 / 458.4 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.09249, allocations: 0 / 458.4 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.09298, allocations: 452.8 kB / 458.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.09299, allocations: 0 / 458.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.09312, allocations: 27.92 kB / 458.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-05/0.09322, allocations: 28.91 kB / 458.9 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.09324, allocations: 4 kB / 458.9 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008451/0.09409, allocations: 1.402 MB / 460.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0941, allocations: 0 / 460.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.09439, allocations: 281.9 kB / 460.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.09444, allocations: 89.02 kB / 460.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.09447, allocations: 8.031 kB / 460.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.09457, allocations: 4 kB / 460.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.09459, allocations: 8 kB / 460.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.09461, allocations: 7.984 kB / 460.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.556e-05/0.09469, allocations: 114.3 kB / 460.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.423e-06/0.0947, allocations: 0 / 460.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.09503, allocations: 31.94 kB / 460.8 MB, free: 13.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (G.thetag,G.thetap,G.wg,Gact.y) * 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 (10): * Single equations (assignments): 9 * 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.0001064/0.09514, allocations: 119.2 kB / 460.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.09548, allocations: 309.2 kB / 461.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.09549, allocations: 0 / 461.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.09564, allocations: 154.6 kB / 461.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.09595, allocations: 16.23 kB / 461.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.09675, allocations: 0.5894 MB / 462 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.09699, allocations: 0.7088 MB / 462.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.09704, allocations: 12.61 kB / 462.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.09708, allocations: 15.44 kB / 462.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.09709, allocations: 0 / 462.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of Templates: time 0.003601/0.1007, allocations: 1.4 MB / 464.1 MB, free: 10.05 MB / 330.7 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1)