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.001037/0.001037, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.0009934/0.0009934, allocations: 165.5 kB / 24.86 MB, free: 9.199 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.9378/0.9378, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.06909/0.06909, allocations: 18.14 MB / 280 MB, free: 11.17 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.133e-06/1.133e-06, allocations: 0 / 356.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.944e-05, allocations: 2.312 kB / 356.1 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.005397/0.005416, allocations: 1.704 MB / 357.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006914/0.006107, allocations: 482.9 kB / 358.3 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.006183, allocations: 0 / 358.3 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.006224, allocations: 11.86 kB / 358.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.006396, allocations: 39.64 kB / 358.3 MB, free: 8.789 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.177e-05/0.006468, allocations: 27.97 kB / 358.3 MB, free: 8.762 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.006631, allocations: 127.5 kB / 358.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.006728, allocations: 17.62 kB / 358.5 MB, free: 8.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.006875, allocations: 55.78 kB / 358.5 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.006972, allocations: 47.8 kB / 358.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.006991, allocations: 8 kB / 358.6 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.007007, allocations: 12 kB / 358.6 MB, free: 8.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.007027, allocations: 15.92 kB / 358.6 MB, free: 8.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.007065, allocations: 39.84 kB / 358.7 MB, free: 8.441 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.007184, allocations: 75.67 kB / 358.7 MB, free: 8.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.007185, allocations: 4 kB / 358.7 MB, free: 8.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007186, allocations: 0 / 358.7 MB, free: 8.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.00719, allocations: 0 / 358.7 MB, free: 8.363 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.00344/0.01063, allocations: 456 kB / 359.2 MB, free: 7.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.01066, allocations: 8.031 kB / 359.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.01069, allocations: 20.84 kB / 359.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.01081, allocations: 141 kB / 359.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.01082, allocations: 12.36 kB / 359.4 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.01084, allocations: 16.38 kB / 359.4 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.696e-05/0.01091, allocations: 63.73 kB / 359.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.01092, allocations: 0 / 359.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.01093, allocations: 4 kB / 359.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.01094, allocations: 4 kB / 359.4 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.474e-05/0.01097, allocations: 27.91 kB / 359.5 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.01136, allocations: 367.4 kB / 359.8 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.01152, allocations: 82.95 kB / 359.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.01155, allocations: 35.64 kB / 359.9 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.01156, allocations: 7.984 kB / 360 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.01158, allocations: 37.39 kB / 360 MB, free: 6.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.01158, allocations: 0 / 360 MB, free: 6.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005328/0.01211, allocations: 317.2 kB / 360.3 MB, free: 6.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.01213, allocations: 51.41 kB / 360.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.01223, allocations: 210.5 kB / 360.6 MB, free: 6.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.01224, allocations: 25.7 kB / 360.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.01231, allocations: 166.9 kB / 360.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.01233, allocations: 47.62 kB / 360.8 MB, free: 6.094 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.01237, allocations: 35.36 kB / 360.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.01247, allocations: 0.4962 MB / 361.3 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.01249, allocations: 12 kB / 361.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.01253, allocations: 57.67 kB / 361.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.708e-05/0.01261, allocations: 93.86 kB / 361.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01261, allocations: 0 / 361.5 MB, free: 5.363 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.0002435/0.01286, allocations: 176.3 kB / 361.7 MB, free: 5.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.01287, allocations: 8 kB / 361.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.01287, allocations: 0 / 361.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.01305, allocations: 59.39 kB / 361.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.01311, allocations: 27.92 kB / 361.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.0152, allocations: 6.247 MB / 368 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.01525, allocations: 4 kB / 368 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.01525, allocations: 7.938 kB / 368 MB, free: 14.53 MB / 346.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.983e-05/0.01535, allocations: 167.1 kB / 368.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.01538, allocations: 11.95 kB / 368.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.669e-05/0.01539, allocations: 16.78 kB / 368.2 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.0154, allocations: 8 kB / 368.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.0154, allocations: 4 kB / 368.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.0154, allocations: 3.984 kB / 368.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.01569, allocations: 404.8 kB / 368.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01569, allocations: 0 / 368.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.01575, allocations: 19.98 kB / 368.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.0159, allocations: 51.69 kB / 368.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.0159, allocations: 7.984 kB / 368.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007139/0.01662, allocations: 1.993 MB / 370.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01662, allocations: 3.984 kB / 370.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.01705, allocations: 310.7 kB / 371 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.01706, allocations: 11.94 kB / 371 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.01707, allocations: 8 kB / 371 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.01712, allocations: 0 / 371 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.01714, allocations: 11.92 kB / 371 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.01714, allocations: 11.98 kB / 371 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.0172, allocations: 146 kB / 371.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0172, allocations: 0 / 371.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.01744, allocations: 31.94 kB / 371.2 MB, free: 11.13 MB / 346.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.1e-05/0.01751, allocations: 103.2 kB / 371.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.01778, allocations: 413.7 kB / 371.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01778, allocations: 0 / 371.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01789, allocations: 218.4 kB / 371.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.01808, allocations: 8 kB / 371.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.01872, allocations: 442.3 kB / 372.4 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.01877, allocations: 83.62 kB / 372.4 MB, free: 9.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.019e-05/0.0188, allocations: 12.64 kB / 372.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.01884, allocations: 82.14 kB / 372.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01884, allocations: 0 / 372.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of Templates: time 0.003215/0.02206, allocations: 1.782 MB / 374.3 MB, free: 7.898 MB / 346.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 -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.771312376949936]