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.0009492/0.0009492, allocations: 91.56 kB / 20.45 MB, free: 4.117 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.0009741/0.0009741, allocations: 169.3 kB / 23.82 MB, free: 0.7539 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.1/1.1, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.13 MB / 278.9 MB, free: 11.33 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 2.414e-06/2.414e-06, allocations: 0 / 354.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.66e-05/3.901e-05, allocations: 5.406 kB / 354.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.003723/0.003762, allocations: 1.708 MB / 356.6 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004793, allocations: 494.7 kB / 357 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.004897, allocations: 0 / 357 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.713e-05/0.004965, allocations: 11.86 kB / 357.1 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.005227, allocations: 35.66 kB / 357.1 MB, free: 8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.005343, allocations: 31.95 kB / 357.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.005561, allocations: 127.4 kB / 357.2 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.005711, allocations: 21.61 kB / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.00597, allocations: 59.77 kB / 357.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.006097, allocations: 35.89 kB / 357.4 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.006123, allocations: 8 kB / 357.4 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.006144, allocations: 8 kB / 357.4 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.006173, allocations: 27.91 kB / 357.4 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.006227, allocations: 35.86 kB / 357.4 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.006399, allocations: 71.66 kB / 357.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.006404, allocations: 4 kB / 357.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.006405, allocations: 4 kB / 357.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.006412, allocations: 0 / 357.5 MB, free: 7.57 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.0006527/0.007065, allocations: 452.1 kB / 358 MB, free: 7.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.007114, allocations: 8.031 kB / 358 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.007176, allocations: 20.84 kB / 358 MB, free: 7.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.007407, allocations: 151.4 kB / 358.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.007424, allocations: 8.375 kB / 358.1 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.007465, allocations: 16.38 kB / 358.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.00762, allocations: 65.8 kB / 358.2 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.007629, allocations: 3.938 kB / 358.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.007645, allocations: 4 kB / 358.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.007656, allocations: 4 kB / 358.2 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.007733, allocations: 31.91 kB / 358.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/0.008404, allocations: 351.5 kB / 358.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.008703, allocations: 94.95 kB / 358.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.008787, allocations: 35.67 kB / 358.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.008799, allocations: 0 / 358.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.008832, allocations: 41.39 kB / 358.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.008833, allocations: 0 / 358.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008738/0.009707, allocations: 345.8 kB / 359.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.009748, allocations: 55.41 kB / 359.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.009936, allocations: 212.5 kB / 359.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.009954, allocations: 25.7 kB / 359.4 MB, free: 5.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.01005, allocations: 163 kB / 359.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.01009, allocations: 43.64 kB / 359.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.01015, allocations: 39.36 kB / 359.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.01032, allocations: 0.4923 MB / 360.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.01038, allocations: 19.98 kB / 360.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.01046, allocations: 55.11 kB / 360.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.01065, allocations: 105.7 kB / 360.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01065, allocations: 0 / 360.3 MB, free: 4.523 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.00049/0.01114, allocations: 192.4 kB / 360.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.01116, allocations: 8 kB / 360.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01117, allocations: 0 / 360.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.01155, allocations: 63.39 kB / 360.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.01165, allocations: 19.98 kB / 360.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/0.01514, allocations: 6.3 MB / 366.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.01522, allocations: 4 kB / 366.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.01523, allocations: 7.984 kB / 366.9 MB, free: 13.6 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.0001441/0.01538, allocations: 168.5 kB / 367.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.01542, allocations: 15.89 kB / 367.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.01544, allocations: 12.78 kB / 367.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01545, allocations: 8.062 kB / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01545, allocations: 0 / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.01546, allocations: 3.984 kB / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.01602, allocations: 424.2 kB / 367.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.01602, allocations: 0 / 367.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.01613, allocations: 23.92 kB / 367.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.01638, allocations: 47.7 kB / 367.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.0164, allocations: 4 kB / 367.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.0178, allocations: 2.032 MB / 369.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.01781, allocations: 4 kB / 369.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.01818, allocations: 318.7 kB / 369.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.01821, allocations: 11.95 kB / 370 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01823, allocations: 0 / 370 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.01833, allocations: 11.94 kB / 370 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.01837, allocations: 15.91 kB / 370 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01838, allocations: 4 kB / 370 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.01849, allocations: 157 kB / 370.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01849, allocations: 0 / 370.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005014/0.01899, allocations: 28 kB / 370.2 MB, free: 10.12 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.0001375/0.01913, allocations: 103.2 kB / 370.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005101/0.01964, allocations: 422.9 kB / 370.7 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01964, allocations: 0 / 370.7 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.01983, allocations: 213.5 kB / 370.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.02019, allocations: 18.81 kB / 370.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.02145, allocations: 445.3 kB / 371.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.812e-05/0.02154, allocations: 71.83 kB / 371.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.499e-05/0.0216, allocations: 12.64 kB / 371.4 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.02164, allocations: 16.5 kB / 371.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of SimCode: time 1.482e-06/0.02165, allocations: 3.938 kB / 371.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of Templates: time 0.005455/0.0271, allocations: 1.657 MB / 373.1 MB, free: 7.078 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: 3.2215229608118534]