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.001024/0.001024, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.001293/0.001293, allocations: 173 kB / 24.17 MB, free: 336 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 1.088/1.088, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.06561/0.06561, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.433e-06/1.433e-06, allocations: 0 / 302.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.535e-05, allocations: 5.734 kB / 302.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002287/0.002303, allocations: 1.763 MB / 303.8 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.003045, allocations: 487 kB / 304.3 MB, free: 304 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.003117, allocations: 0 / 304.3 MB, free: 304 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.003155, allocations: 16.28 kB / 304.3 MB, free: 292 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.003329, allocations: 34.41 kB / 304.4 MB, free: 268 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.704e-05/0.003406, allocations: 26.55 kB / 304.4 MB, free: 252 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.003562, allocations: 127.5 kB / 304.5 MB, free: 188 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.00366, allocations: 24.55 kB / 304.5 MB, free: 176 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.003816, allocations: 48.83 kB / 304.6 MB, free: 156 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.003909, allocations: 45.75 kB / 304.6 MB, free: 140 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.003928, allocations: 8.125 kB / 304.6 MB, free: 140 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.003944, allocations: 9.281 kB / 304.7 MB, free: 140 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.003967, allocations: 31.22 kB / 304.7 MB, free: 116 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.004003, allocations: 32.58 kB / 304.7 MB, free: 104 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.004122, allocations: 81.78 kB / 304.8 MB, free: 60 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004124, allocations: 1.062 kB / 304.8 MB, free: 60 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004125, allocations: 0 / 304.8 MB, free: 60 kB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004129, allocations: 0 / 304.8 MB, free: 60 kB / 266.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.0004256/0.004554, allocations: 324.3 kB / 305.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.00459, allocations: 9.719 kB / 305.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.00463, allocations: 16.06 kB / 305.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.004796, allocations: 144.2 kB / 305.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.004807, allocations: 6.562 kB / 305.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.00483, allocations: 15.55 kB / 305.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.004936, allocations: 66.95 kB / 305.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.004945, allocations: 0.6562 kB / 305.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004954, allocations: 1.531 kB / 305.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.00496, allocations: 1.562 kB / 305.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.004998, allocations: 19.69 kB / 305.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.005384, allocations: 258.2 kB / 305.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.005561, allocations: 66.2 kB / 305.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.005593, allocations: 24.39 kB / 305.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.005602, allocations: 0.9844 kB / 305.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.005631, allocations: 42.47 kB / 305.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.005633, allocations: 0 / 305.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005556/0.006189, allocations: 295.2 kB / 306.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.006222, allocations: 53.56 kB / 306.1 MB, free: 15.03 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.006341, allocations: 154.8 kB / 306.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.006356, allocations: 30.8 kB / 306.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.006418, allocations: 104.7 kB / 306.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.006458, allocations: 53.08 kB / 306.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.006497, allocations: 35.16 kB / 306.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.0066, allocations: 334.9 kB / 306.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.006623, allocations: 12.14 kB / 306.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.006667, allocations: 41.11 kB / 306.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.006777, allocations: 82.44 kB / 306.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.006778, allocations: 0 / 306.9 MB, free: 14.31 MB / 282.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.0003111/0.007089, allocations: 136.7 kB / 307.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.007105, allocations: 12.62 kB / 307.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.007111, allocations: 1.906 kB / 307.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.007359, allocations: 50.3 kB / 307.1 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.007454, allocations: 38.56 kB / 307.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.009302, allocations: 4.195 MB / 311.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.009347, allocations: 1.312 kB / 311.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.009357, allocations: 7.562 kB / 311.4 MB, free: 9.973 MB / 282.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 9.052e-05/0.009447, allocations: 133.2 kB / 311.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.009471, allocations: 9.172 kB / 311.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.009492, allocations: 15.41 kB / 311.5 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.009494, allocations: 1.281 kB / 311.5 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.009497, allocations: 5.188 kB / 311.5 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.0095, allocations: 0 / 311.5 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.009778, allocations: 297.2 kB / 311.8 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.009781, allocations: 1.312 kB / 311.8 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.009862, allocations: 22.5 kB / 311.9 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.01001, allocations: 42.7 kB / 311.9 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.01002, allocations: 10.7 kB / 311.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006916/0.01071, allocations: 1.354 MB / 313.3 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01072, allocations: 9.266 kB / 313.3 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.01091, allocations: 227.7 kB / 313.5 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.01092, allocations: 16.34 kB / 313.5 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.01093, allocations: 4.656 kB / 313.5 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.01098, allocations: 5 kB / 313.5 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.01101, allocations: 16.81 kB / 313.5 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.01101, allocations: 4.641 kB / 313.5 MB, free: 8.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.48e-05/0.01105, allocations: 33.89 kB / 313.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01105, allocations: 0 / 313.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.01128, allocations: 30.16 kB / 313.6 MB, free: 8.027 MB / 282.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.305e-05/0.01135, allocations: 82.2 kB / 313.7 MB, free: 7.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.01162, allocations: 303.1 kB / 314 MB, free: 7.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.01162, allocations: 0 / 314 MB, free: 7.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.01172, allocations: 161 kB / 314.1 MB, free: 7.484 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.0119, allocations: 21.23 kB / 314.2 MB, free: 7.469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.01256, allocations: 383.5 kB / 314.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.01261, allocations: 75.91 kB / 314.6 MB, free: 7.004 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.01265, allocations: 12.09 kB / 314.6 MB, free: 6.996 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.0127, allocations: 64.59 kB / 314.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01271, allocations: 0 / 314.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of Templates: time 0.003525/0.01623, allocations: 1.782 MB / 316.5 MB, free: 5.246 MB / 282.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9304300849325955]