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.001822/0.001822, allocations: 84.98 kB / 20.23 MB, free: 4.191 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.001961/0.001961, allocations: 165.3 kB / 23.55 MB, free: 0.875 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 1.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.1175/0.1175, allocations: 18.15 MB / 278.5 MB, free: 11.34 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.192e-06/1.192e-06, allocations: 0 / 354.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.575e-05, allocations: 5.266 kB / 354.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.003136/0.003162, allocations: 1.685 MB / 355.8 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.0041, allocations: 482.7 kB / 356.3 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.004169, allocations: 4 kB / 356.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.004214, allocations: 11.86 kB / 356.3 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.004412, allocations: 39.69 kB / 356.3 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.174e-05/0.004494, allocations: 23.97 kB / 356.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.004698, allocations: 127.4 kB / 356.5 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.004829, allocations: 17.62 kB / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.005022, allocations: 55.83 kB / 356.5 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.005134, allocations: 43.88 kB / 356.6 MB, free: 8.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.005159, allocations: 8 kB / 356.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.005181, allocations: 11.94 kB / 356.6 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.005211, allocations: 23.92 kB / 356.6 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.005272, allocations: 39.89 kB / 356.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.00545, allocations: 103.5 kB / 356.8 MB, free: 7.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.005455, allocations: 4 kB / 356.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005455, allocations: 0 / 356.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.00546, allocations: 0 / 356.8 MB, free: 7.934 MB / 282.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.0007338/0.006193, allocations: 455.7 kB / 357.2 MB, free: 7.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.006232, allocations: 12.03 kB / 357.2 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.006296, allocations: 20.84 kB / 357.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.006549, allocations: 151.4 kB / 357.4 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.006564, allocations: 8.375 kB / 357.4 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.006596, allocations: 12.33 kB / 357.4 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.006769, allocations: 77.8 kB / 357.5 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.006778, allocations: 0 / 357.5 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.006791, allocations: 4 kB / 357.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.006797, allocations: 8 kB / 357.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.0069, allocations: 39.97 kB / 357.5 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.007615, allocations: 375.5 kB / 357.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.00792, allocations: 103 kB / 358 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.008014, allocations: 43.67 kB / 358.1 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.008027, allocations: 3.984 kB / 358.1 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.008066, allocations: 45.39 kB / 358.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.008067, allocations: 0 / 358.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008821/0.008949, allocations: 385.9 kB / 358.5 MB, free: 6.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.008994, allocations: 55.41 kB / 358.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.00922, allocations: 230.8 kB / 358.8 MB, free: 5.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.009248, allocations: 29.7 kB / 358.8 MB, free: 5.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.009363, allocations: 159 kB / 358.9 MB, free: 5.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.009409, allocations: 51.62 kB / 359 MB, free: 5.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.009479, allocations: 39.36 kB / 359 MB, free: 5.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.009771, allocations: 0.5001 MB / 359.5 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.009836, allocations: 31.98 kB / 359.6 MB, free: 4.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.009938, allocations: 71.11 kB / 359.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.01017, allocations: 142.4 kB / 359.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01018, allocations: 0 / 359.8 MB, free: 4.68 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.0004804/0.01066, allocations: 216.5 kB / 360 MB, free: 4.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.01067, allocations: 4 kB / 360 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.01068, allocations: 4 kB / 360 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003902/0.01107, allocations: 67.27 kB / 360.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01117, allocations: 23.98 kB / 360.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004632/0.01581, allocations: 6.371 MB / 366.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.01589, allocations: 8 kB / 366.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.01591, allocations: 8 kB / 366.5 MB, free: 13.65 MB / 298.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 0.0001631/0.01607, allocations: 172.7 kB / 366.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.01611, allocations: 19.89 kB / 366.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.01615, allocations: 16.78 kB / 366.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01615, allocations: 0 / 366.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01615, allocations: 0 / 366.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01616, allocations: 0 / 366.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.01681, allocations: 468.2 kB / 367.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01681, allocations: 0 / 367.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01693, allocations: 23.92 kB / 367.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.01723, allocations: 51.58 kB / 367.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.01724, allocations: 4 kB / 367.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.01919, allocations: 2.102 MB / 369.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01919, allocations: 0 / 369.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.01963, allocations: 350.7 kB / 369.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.01966, allocations: 7.953 kB / 369.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.01968, allocations: 4 kB / 369.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.01978, allocations: 7.938 kB / 369.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.01981, allocations: 7.984 kB / 369.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.01983, allocations: 16.05 kB / 369.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.01996, allocations: 164.8 kB / 369.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01996, allocations: 0 / 369.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003826/0.02034, allocations: 28 kB / 369.9 MB, free: 10.02 MB / 298.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 0.0001296/0.02047, allocations: 107.1 kB / 370 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.02104, allocations: 438.9 kB / 370.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02104, allocations: 0 / 370.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.02129, allocations: 229.7 kB / 370.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.02159, allocations: 24.12 kB / 370.7 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009279/0.02252, allocations: 441.9 kB / 371.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.02263, allocations: 97.8 kB / 371.2 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.719e-05/0.02267, allocations: 12.64 kB / 371.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.02272, allocations: 16.5 kB / 371.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02272, allocations: 0 / 371.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of Templates: time 0.005499/0.02822, allocations: 1.645 MB / 372.9 MB, free: 6.926 MB / 298.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: 4.718646473949775]