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.0007846/0.0007846, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.0009904/0.0009904, allocations: 166.3 kB / 24.09 MB, free: 424 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.8672/0.8672, allocations: 177.1 MB / 204.4 MB, free: 5.676 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.07918/0.07918, allocations: 18.13 MB / 279 MB, free: 11.46 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.453e-06/1.453e-06, allocations: 0 / 414.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.45e-05, allocations: 6.281 kB / 414.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001592/0.001616, allocations: 1.583 MB / 415.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004724/0.002088, allocations: 451.4 kB / 416.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.002136, allocations: 1.375 kB / 416.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.00217, allocations: 11.88 kB / 416.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.002318, allocations: 32.5 kB / 416.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.357e-05/0.002361, allocations: 21.28 kB / 416.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.002443, allocations: 108.1 kB / 416.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.002541, allocations: 26.61 kB / 416.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.002677, allocations: 43.08 kB / 416.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.002755, allocations: 39.89 kB / 416.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.002771, allocations: 8.406 kB / 416.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.002783, allocations: 9.219 kB / 416.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.002798, allocations: 17.86 kB / 416.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.002827, allocations: 36.42 kB / 416.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.388e-05/0.002921, allocations: 87.25 kB / 416.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002923, allocations: 0 / 416.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002923, allocations: 0 / 416.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.002927, allocations: 4 kB / 416.6 MB, free: 12.09 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.0003466/0.003273, allocations: 335.2 kB / 417 MB, free: 11.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.003303, allocations: 9.141 kB / 417 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.003334, allocations: 14.86 kB / 417 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/0.003423, allocations: 129.3 kB / 417.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.003435, allocations: 3.844 kB / 417.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.003459, allocations: 10.59 kB / 417.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.003561, allocations: 80.23 kB / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.003569, allocations: 4.188 kB / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.003579, allocations: 8.688 kB / 417.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.003583, allocations: 2.25 kB / 417.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.003643, allocations: 43.56 kB / 417.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.003979, allocations: 294.1 kB / 417.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.004166, allocations: 83.38 kB / 417.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.004207, allocations: 39.03 kB / 417.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.004218, allocations: 1.953 kB / 417.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.006e-05/0.004228, allocations: 34.81 kB / 417.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.004229, allocations: 9.594 kB / 417.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004774/0.004707, allocations: 342.2 kB / 418 MB, free: 10.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/0.004724, allocations: 53 kB / 418.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.894e-05/0.004793, allocations: 147.5 kB / 418.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.004801, allocations: 26.73 kB / 418.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.004832, allocations: 98.31 kB / 418.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.004849, allocations: 49.64 kB / 418.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.004877, allocations: 28.28 kB / 418.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.482e-05/0.004902, allocations: 326.1 kB / 418.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.004934, allocations: 29.55 kB / 418.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.004975, allocations: 53.8 kB / 418.8 MB, free: 10.21 MB / 330.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.005232, allocations: 170.1 kB / 419 MB, free: 10.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.005233, allocations: 1.375 kB / 419 MB, free: 10.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001377/0.005371, allocations: 151.6 kB / 419.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.005381, allocations: 5.5 kB / 419.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005385, allocations: 0 / 419.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.005493, allocations: 33.86 kB / 419.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.00555, allocations: 26.53 kB / 419.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006036/0.006153, allocations: 1.48 MB / 420.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.006189, allocations: 5.375 kB / 420.7 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.006196, allocations: 4.641 kB / 420.7 MB, free: 8.594 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 5.649e-05/0.006252, allocations: 130.3 kB / 420.8 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.006268, allocations: 16.66 kB / 420.8 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.088e-05/0.006279, allocations: 13.03 kB / 420.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.00628, allocations: 1.375 kB / 420.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006282, allocations: 0 / 420.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006285, allocations: 6.391 kB / 420.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.00654, allocations: 364.5 kB / 421.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006542, allocations: 1.812 kB / 421.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.006595, allocations: 16.66 kB / 421.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.852e-05/0.006674, allocations: 44.28 kB / 421.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.006681, allocations: 6.625 kB / 421.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004371/0.007118, allocations: 1.489 MB / 422.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.00712, allocations: 1.188 kB / 422.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.007274, allocations: 263.5 kB / 423 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.007285, allocations: 14.64 kB / 423.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.007293, allocations: 5.625 kB / 423.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.007341, allocations: 2.688 kB / 423.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.007367, allocations: 15.19 kB / 423.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.007372, allocations: 4.016 kB / 423.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.098e-05/0.007413, allocations: 113.7 kB / 423.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007413, allocations: 0 / 423.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000207/0.00762, allocations: 30.88 kB / 423.2 MB, free: 6.355 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 5.147e-05/0.007671, allocations: 105.6 kB / 423.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.00787, allocations: 186.3 kB / 423.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007871, allocations: 0 / 423.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/0.007945, allocations: 153.4 kB / 423.7 MB, free: 5.996 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.008099, allocations: 9.609 kB / 423.7 MB, free: 5.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.008565, allocations: 395.4 kB / 424 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.008612, allocations: 88.36 kB / 424.1 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.00864, allocations: 13.11 kB / 424.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.008662, allocations: 14.19 kB / 424.2 MB, free: 5.621 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.008662, allocations: 0 / 424.2 MB, free: 5.621 MB / 330.7 MB Notification: Performance of Templates: time 0.002679/0.01134, allocations: 1.352 MB / 425.5 MB, free: 5.461 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.714105185121298] Failed to read output from testmodel.py, exit status != 0: 0.15345043502748013 0.024158277000000002 0.019392126000000003 Calling exit ...