Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_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.0008145/0.0008145, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007847/0.0007847, allocations: 165.2 kB / 23.98 MB, free: 0.582 MB / 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.8549/0.8549, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.05998/0.05998, allocations: 18.12 MB / 278.8 MB, free: 11.55 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_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 413.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.789e-05, allocations: 2.281 kB / 413.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001691/0.001719, allocations: 1.592 MB / 415.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004976/0.002216, allocations: 455.5 kB / 416 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.002264, allocations: 0.9375 kB / 416 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.002303, allocations: 12.17 kB / 416 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.002463, allocations: 33.14 kB / 416 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.21e-05/0.002515, allocations: 19.59 kB / 416 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.545e-05/0.002611, allocations: 109.4 kB / 416.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.00272, allocations: 13.67 kB / 416.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.002877, allocations: 55.78 kB / 416.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.743e-05/0.002955, allocations: 31.34 kB / 416.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.002972, allocations: 8 kB / 416.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.002985, allocations: 11.66 kB / 416.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.00301, allocations: 24.14 kB / 416.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.00304, allocations: 29.56 kB / 416.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003156, allocations: 93.22 kB / 416.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003159, allocations: 0 / 416.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00316, allocations: 1.219 kB / 416.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.003164, allocations: 0 / 416.4 MB, free: 12.21 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003723/0.003537, allocations: 329.9 kB / 416.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.00357, allocations: 11.33 kB / 416.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.003603, allocations: 14.34 kB / 416.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.003692, allocations: 128 kB / 416.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003704, allocations: 7.688 kB / 416.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.003727, allocations: 14.81 kB / 416.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.003828, allocations: 81.19 kB / 417 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.003835, allocations: 192 / 417 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.003845, allocations: 5.312 kB / 417 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.00385, allocations: 9.359 kB / 417 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.914e-05/0.003909, allocations: 39.72 kB / 417 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.004274, allocations: 297.3 kB / 417.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.004472, allocations: 84.08 kB / 417.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.004516, allocations: 46.03 kB / 417.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.004526, allocations: 1.891 kB / 417.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.066e-05/0.004537, allocations: 32.78 kB / 417.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.004538, allocations: 1.375 kB / 417.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005043/0.005042, allocations: 348.3 kB / 417.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.005062, allocations: 54.22 kB / 417.9 MB, free: 11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.005135, allocations: 140.8 kB / 418 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.005141, allocations: 27.69 kB / 418 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.005176, allocations: 99.34 kB / 418.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.005196, allocations: 43.81 kB / 418.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.005228, allocations: 33.11 kB / 418.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.87e-05/0.005257, allocations: 321.5 kB / 418.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.419e-05/0.005291, allocations: 25.48 kB / 418.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/0.005335, allocations: 55.25 kB / 418.6 MB, free: 10.34 MB / 330.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.005611, allocations: 173.7 kB / 418.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.005611, allocations: 0 / 418.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001536/0.005765, allocations: 160.2 kB / 418.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.005777, allocations: 7.406 kB / 418.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005781, allocations: 2.109 kB / 418.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.005894, allocations: 36.2 kB / 419 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.005951, allocations: 22.39 kB / 419 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/0.006595, allocations: 1.481 MB / 420.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.006636, allocations: 5.375 kB / 420.5 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.006644, allocations: 4.125 kB / 420.5 MB, free: 8.715 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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: G.Pm = G.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,3)} Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.006708, allocations: 126.7 kB / 420.6 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.006725, allocations: 16.06 kB / 420.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.325e-05/0.006738, allocations: 19.47 kB / 420.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.00674, allocations: 1.375 kB / 420.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.006741, allocations: 1.375 kB / 420.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006744, allocations: 0.75 kB / 420.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.007014, allocations: 364.7 kB / 421 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.007017, allocations: 4.125 kB / 421 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.00707, allocations: 17.03 kB / 421 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.963e-05/0.007149, allocations: 44.11 kB / 421.1 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.007158, allocations: 7.312 kB / 421.1 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004779/0.007636, allocations: 1.487 MB / 422.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.007638, allocations: 0.7031 kB / 422.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.007805, allocations: 268.5 kB / 422.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.007818, allocations: 14.17 kB / 422.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.007838, allocations: 1.75 kB / 422.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.007892, allocations: 9.609 kB / 422.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.007914, allocations: 12.66 kB / 422.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007919, allocations: 4.156 kB / 422.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.007959, allocations: 109.8 kB / 423 MB, free: 6.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007959, allocations: 0 / 423 MB, free: 6.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000208/0.008167, allocations: 27.56 kB / 423 MB, free: 6.477 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (G.thetap,G.deltag,G.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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 6.275e-05/0.00823, allocations: 104.4 kB / 423.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.008441, allocations: 194.6 kB / 423.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008442, allocations: 0 / 423.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.008519, allocations: 154.6 kB / 423.4 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.008678, allocations: 12.14 kB / 423.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.009172, allocations: 421.4 kB / 423.9 MB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.13e-05/0.009223, allocations: 89.12 kB / 424 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.009248, allocations: 14.14 kB / 424 MB, free: 5.707 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009249, allocations: 4 kB / 424 MB, free: 5.703 MB / 330.7 MB Notification: Performance of Templates: time 0.0026/0.01185, allocations: 1.73 MB / 425.7 MB, free: 5.59 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.300107677467167] Failed to read output from testmodel.py, exit status != 0: 0.16730916779488325 0.027050153 0.022108935 Calling exit ...