Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 75.7 kB / 20.8 MB, free: 3.699 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000829/0.000829, allocations: 166 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9018/0.9018, allocations: 177.1 MB / 204.4 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06382/0.06382, allocations: 18.12 MB / 279 MB, free: 11.48 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 414.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.707e-05, allocations: 6.219 kB / 414.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.001911/0.001938, allocations: 1.64 MB / 415.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006064/0.002545, allocations: 462.1 kB / 416.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.002621, allocations: 0 / 416.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.404e-05/0.002665, allocations: 20.55 kB / 416.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.002871, allocations: 38.64 kB / 416.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.393e-05/0.002955, allocations: 29.91 kB / 416.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.003131, allocations: 122.4 kB / 416.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.003261, allocations: 22.09 kB / 416.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.003441, allocations: 58.72 kB / 416.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.003544, allocations: 38.41 kB / 416.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.003567, allocations: 8.938 kB / 416.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.003583, allocations: 8.688 kB / 416.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.003607, allocations: 27.22 kB / 416.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.00365, allocations: 35.92 kB / 416.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.003817, allocations: 107.1 kB / 416.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.00382, allocations: 0.75 kB / 416.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003821, allocations: 0 / 416.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.003827, allocations: 1.375 kB / 416.8 MB, free: 12.19 MB / 330.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.0005279/0.004354, allocations: 345.7 kB / 417.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.004403, allocations: 9.25 kB / 417.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.004444, allocations: 19.84 kB / 417.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.004638, allocations: 156.2 kB / 417.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.00465, allocations: 3.812 kB / 417.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.00468, allocations: 10.81 kB / 417.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.004807, allocations: 84.48 kB / 417.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.004817, allocations: 3.938 kB / 417.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.004831, allocations: 9.047 kB / 417.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.00484, allocations: 2.781 kB / 417.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.004923, allocations: 41.53 kB / 417.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.005354, allocations: 313.7 kB / 417.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.005566, allocations: 99.42 kB / 417.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.005616, allocations: 41.66 kB / 417.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.005628, allocations: 2.156 kB / 417.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.005641, allocations: 32.84 kB / 417.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.005642, allocations: 0 / 417.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005801/0.006222, allocations: 372.8 kB / 418.3 MB, free: 11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.00624, allocations: 52.78 kB / 418.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.006341, allocations: 163.9 kB / 418.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.006348, allocations: 25.7 kB / 418.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.006385, allocations: 109.5 kB / 418.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.006409, allocations: 48.98 kB / 418.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.006442, allocations: 33.53 kB / 418.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.404e-05/0.006476, allocations: 322.9 kB / 419 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.006517, allocations: 32.06 kB / 419.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.006574, allocations: 53.88 kB / 419.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.006871, allocations: 181.9 kB / 419.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.006872, allocations: 0 / 419.3 MB, free: 10.16 MB / 330.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.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=18) (initialization): time 0.0002933/0.007165, allocations: 204.6 kB / 419.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.007179, allocations: 8.562 kB / 419.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007184, allocations: 0 / 419.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.007311, allocations: 49.25 kB / 419.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.007378, allocations: 26.77 kB / 419.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.008512, allocations: 4.387 MB / 423.9 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.008558, allocations: 1.375 kB / 424 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.008565, allocations: 5.281 kB / 424 MB, free: 5.598 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: G.deltag:VARIABLE(unit = \"rad\" fixed = true ) \"generator angle wrt port\" 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 (14): * 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: 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,3)} Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.008634, allocations: 125.5 kB / 424.1 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.008656, allocations: 17.41 kB / 424.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.549e-05/0.008672, allocations: 16.75 kB / 424.1 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008674, allocations: 1 kB / 424.1 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.008676, allocations: 6.078 kB / 424.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.00868, allocations: 0.7031 kB / 424.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.008997, allocations: 384.1 kB / 424.5 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.009, allocations: 1.875 kB / 424.5 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.012e-05/0.00907, allocations: 19.27 kB / 424.5 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.143e-05/0.009162, allocations: 36.44 kB / 424.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.009172, allocations: 5.891 kB / 424.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005126/0.009685, allocations: 1.49 MB / 426 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009686, allocations: 0 / 426 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.009915, allocations: 293.3 kB / 426.3 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.009931, allocations: 10.42 kB / 426.3 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.009942, allocations: 2.031 kB / 426.3 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.009999, allocations: 11.12 kB / 426.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.01002, allocations: 8.625 kB / 426.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.01003, allocations: 2.344 kB / 426.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.759e-05/0.01008, allocations: 129.6 kB / 426.5 MB, free: 3.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01008, allocations: 0 / 426.5 MB, free: 3.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000264/0.01035, allocations: 29.69 kB / 426.5 MB, free: 3.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (G.thetap,G.deltag,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 (9): * Single equations (assignments): 8 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 7.103e-05/0.01042, allocations: 97.89 kB / 426.6 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.01071, allocations: 320.2 kB / 426.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01071, allocations: 1.562 kB / 426.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.01081, allocations: 156.1 kB / 427.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.01104, allocations: 17.28 kB / 427.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.01161, allocations: 434.3 kB / 427.5 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.106e-05/0.01168, allocations: 97.47 kB / 427.6 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.919e-05/0.01172, allocations: 8.906 kB / 427.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.01175, allocations: 14.38 kB / 427.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01175, allocations: 1.5 kB / 427.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of Templates: time 0.003823/0.01557, allocations: 1.612 MB / 429.3 MB, free: 2.277 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile [Timeout 660] (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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.991817438043654] Failed to read output from testmodel.py, exit status != 0: 0.19482958689332008 0.031553179 0.025673185 Calling exit ...