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.0008112/0.0008112, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004747/0.005558, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001207/0.001207, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001572/0.00278, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.04/1.04, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1085/1.148, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.06264/0.06264, allocations: 18.12 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01306/0.0757, allocations: 6.782 MB / 269.1 MB, free: 6.234 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.242e-06/1.242e-06, allocations: 0 / 270.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.218e-05, allocations: 5.828 kB / 270.4 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.00202/0.002042, allocations: 1.759 MB / 272.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006/0.002642, allocations: 0.4908 MB / 272.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.002712, allocations: 0 / 272.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.002751, allocations: 11.86 kB / 272.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.002846, allocations: 35.72 kB / 272.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.061e-05/0.002907, allocations: 31.89 kB / 272.7 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.003037, allocations: 123.5 kB / 272.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.003131, allocations: 30.14 kB / 272.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.003302, allocations: 91.78 kB / 272.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.00339, allocations: 35.89 kB / 273 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.003412, allocations: 12 kB / 273 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.003426, allocations: 8 kB / 273 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.003445, allocations: 15.94 kB / 273 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.003479, allocations: 35.88 kB / 273 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.003601, allocations: 67.69 kB / 273.1 MB, free: 2.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.00361, allocations: 0 / 273.1 MB, free: 2.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003611, allocations: 3.938 kB / 273.1 MB, free: 2.156 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.003619, allocations: 0 / 273.1 MB, free: 2.156 MB / 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.000436/0.004055, allocations: 352 kB / 273.4 MB, free: 1.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.004086, allocations: 11.89 kB / 273.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.004126, allocations: 12.94 kB / 273.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.004263, allocations: 134.2 kB / 273.6 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.004274, allocations: 12.28 kB / 273.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.004297, allocations: 12.31 kB / 273.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.02e-05/0.004387, allocations: 73.72 kB / 273.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.004393, allocations: 0 / 273.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.004401, allocations: 4 kB / 273.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.004405, allocations: 0 / 273.7 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.262e-05/0.004438, allocations: 23.58 kB / 273.7 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.004782, allocations: 257.7 kB / 274 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.004938, allocations: 70.47 kB / 274 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.004966, allocations: 24.86 kB / 274.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.004975, allocations: 4 kB / 274.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.004995, allocations: 30.56 kB / 274.1 MB, free: 1.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.004996, allocations: 0 / 274.1 MB, free: 1.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.000463/0.005459, allocations: 302.7 kB / 274.4 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.005486, allocations: 55.41 kB / 274.4 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.005574, allocations: 161.5 kB / 274.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.005585, allocations: 25.7 kB / 274.6 MB, free: 476 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.005629, allocations: 108.2 kB / 274.7 MB, free: 360 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.005657, allocations: 47.62 kB / 274.8 MB, free: 312 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.005691, allocations: 33.69 kB / 274.8 MB, free: 272 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1286/0.1343, allocations: 324.8 kB / 275.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.1344, allocations: 10 kB / 275.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.1344, allocations: 39.59 kB / 275.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.1345, allocations: 83.34 kB / 275.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1345, allocations: 0 / 275.3 MB, free: 3.219 MB / 266.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.0002818/0.1348, allocations: 143.9 kB / 275.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1348, allocations: 6.531 kB / 275.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1348, allocations: 3.875 kB / 275.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.135, allocations: 53.97 kB / 275.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.1351, allocations: 31.53 kB / 275.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.1365, allocations: 4.186 MB / 279.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.1365, allocations: 8.25 kB / 279.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1365, allocations: 6.469 kB / 279.7 MB, free: 15.04 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 8.816e-05/0.1366, allocations: 119.2 kB / 279.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1366, allocations: 12.55 kB / 279.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.1367, allocations: 15.81 kB / 279.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1367, allocations: 2.031 kB / 279.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1367, allocations: 1.672 kB / 279.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1367, allocations: 11.05 kB / 279.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.1369, allocations: 288.9 kB / 280.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.137, allocations: 4.438 kB / 280.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.137, allocations: 26.33 kB / 280.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.1371, allocations: 10.8 kB / 280.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/0.1372, allocations: 47.38 kB / 280.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1372, allocations: 4.719 kB / 280.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006115/0.1378, allocations: 1.358 MB / 281.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1378, allocations: 1.953 kB / 281.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.138, allocations: 233.7 kB / 281.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.138, allocations: 7.156 kB / 281.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.1381, allocations: 2.125 kB / 281.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.1381, allocations: 12.36 kB / 281.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.1381, allocations: 3.156 kB / 281.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.653e-05/0.1381, allocations: 38.86 kB / 281.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1381, allocations: 0 / 281.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.1383, allocations: 32.81 kB / 281.9 MB, free: 13.27 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 9.335e-05/0.1384, allocations: 82.67 kB / 282 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1387, allocations: 296.2 kB / 282.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.1387, allocations: 3.797 kB / 282.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1388, allocations: 157.2 kB / 282.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.139, allocations: 97.17 kB / 282.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1404, allocations: 357.9 kB / 282.9 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.1405, allocations: 75.75 kB / 283 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.436e-05/0.1405, allocations: 10.02 kB / 283 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.1406, allocations: 62.55 kB / 283 MB, free: 12.48 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1406, allocations: 0 / 283 MB, free: 12.48 MB / 282.7 MB Notification: Performance of Templates: time 0.003982/0.1446, allocations: 1.839 MB / 284.9 MB, free: 12.44 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 -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.925176260061562]