Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.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.0009801/0.0009801, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.9242/0.9242, allocations: 177.2 MB / 200.3 MB, free: 5.676 MB / 186.7 MB " [Timeout remaining time 179] 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.001201/0.001201, allocations: 152.6 kB / 257 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.383/0.383, allocations: 80.24 MB / 340.5 MB, free: 9.617 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 383.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.628e-05, allocations: 2.312 kB / 383.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.008897/0.008923, allocations: 12.62 MB / 396.5 MB, free: 1.953 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008634/0.01756, allocations: 3.694 MB / 400.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.02003, allocations: 31.94 kB / 400.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.02173, allocations: 0.5809 MB / 400.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.02612, allocations: 1.664 MB / 402.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.02889, allocations: 1.529 MB / 404 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005501/0.03439, allocations: 3.795 MB / 407.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.03549, allocations: 0.6245 MB / 408.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.03901, allocations: 2.174 MB / 410.6 MB, free: 3.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.04092, allocations: 1.616 MB / 412.2 MB, free: 2.109 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007721/0.04169, allocations: 296 kB / 412.5 MB, free: 1.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008598/0.04255, allocations: 447.8 kB / 412.9 MB, free: 1.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005406/0.04309, allocations: 0.7933 MB / 413.7 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.04426, allocations: 1.106 MB / 414.8 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.04701, allocations: 2.922 MB / 417.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.04701, allocations: 0 / 417.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04701, allocations: 0 / 417.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.486e-05/0.04705, allocations: 0 / 417.7 MB, free: 12.54 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01032/0.05737, allocations: 6.687 MB / 424.4 MB, free: 5.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.05741, allocations: 8.031 kB / 424.4 MB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007709/0.06512, allocations: 2.91 MB / 427.3 MB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.06744, allocations: 1.22 MB / 428.5 MB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005924/0.06803, allocations: 0.8119 MB / 429.4 MB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003359/0.06837, allocations: 223.9 kB / 429.6 MB, free: 416 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.07072, allocations: 1.845 MB / 431.4 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.07075, allocations: 0 / 431.4 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.0709, allocations: 83.98 kB / 431.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.07093, allocations: 52 kB / 431.6 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.07223, allocations: 0.8881 MB / 432.4 MB, free: 13.39 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008844/0.08107, allocations: 4.986 MB / 437.4 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.08415, allocations: 1.837 MB / 439.3 MB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008874/0.08504, allocations: 0.6277 MB / 439.9 MB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.08524, allocations: 49.98 kB / 439.9 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.08649, allocations: 1.181 MB / 441.1 MB, free: 4.465 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 5.3e-06/0.0865, allocations: 0 / 441.1 MB, free: 4.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=249): time 0.2201/0.3066, allocations: 19.46 MB / 460.6 MB, free: 59.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.3066, allocations: 191.8 kB / 460.8 MB, free: 58.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.3081, allocations: 1.842 MB / 462.6 MB, free: 58.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003989/0.3085, allocations: 73.45 kB / 462.7 MB, free: 58.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.3088, allocations: 0.8038 MB / 463.5 MB, free: 57.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.3094, allocations: 0.9258 MB / 464.4 MB, free: 57.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005968/0.3099, allocations: 0.5601 MB / 465 MB, free: 56.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.122e-05/0.31, allocations: 301.1 kB / 465.3 MB, free: 56.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.3111, allocations: 0.8261 MB / 466.1 MB, free: 55.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3122, allocations: 1.191 MB / 467.3 MB, free: 54.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.3155, allocations: 3.395 MB / 470.7 MB, free: 51.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.3155, allocations: 4 kB / 470.7 MB, free: 51.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=415) (initialization): time 0.01267/0.3282, allocations: 7.614 MB / 478.3 MB, free: 44.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.3283, allocations: 125.7 kB / 478.4 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.3283, allocations: 8.75 kB / 478.4 MB, free: 43.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/0.3397, allocations: 4.963 MB / 483.4 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.3415, allocations: 0.5726 MB / 484 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.3549, allocations: 7.808 MB / 491.8 MB, free: 31.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.3572, allocations: 406 kB / 492.2 MB, free: 30.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.3574, allocations: 91.89 kB / 492.2 MB, free: 30.76 MB / 410.7 MB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (328): * Single equations (assignments): 323 * Array equations: 0 * Algorithm blocks: 4 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007612/0.3582, allocations: 340.5 kB / 492.6 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/0.3586, allocations: 256.9 kB / 492.8 MB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.3702, allocations: 7.024 MB / 499.9 MB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.3702, allocations: 24 kB / 499.9 MB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.3702, allocations: 23.98 kB / 499.9 MB, free: 23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/0.3702, allocations: 11.95 kB / 499.9 MB, free: 22.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.3841, allocations: 8.446 MB / 0.4964 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.3841, allocations: 0 / 0.4964 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/0.385, allocations: 243.6 kB / 0.4967 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/0.3963, allocations: 5.187 MB / 0.5017 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004711/0.3968, allocations: 56.92 kB / 0.5018 GB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/0.4107, allocations: 10.48 MB / 0.512 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4107, allocations: 0 / 0.512 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/0.425, allocations: 7.72 MB / 0.5196 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007725/0.4258, allocations: 285.8 kB / 0.5198 GB, free: 6.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/0.4261, allocations: 44 kB / 0.5199 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.4273, allocations: 219.8 kB / 0.5201 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/0.4285, allocations: 0.5772 MB / 0.5207 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.4287, allocations: 47.92 kB / 0.5207 GB, free: 5.262 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009114/0.4296, allocations: 0.9775 MB / 0.5217 GB, free: 4.277 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4296, allocations: 0 / 0.5217 GB, free: 4.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002649/0.4322, allocations: 1.186 MB / 0.5228 GB, free: 3.125 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003584/0.4326, allocations: 158.6 kB / 0.523 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006308/0.4389, allocations: 3.922 MB / 0.5268 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.51e-05/0.4389, allocations: 24 kB / 0.5268 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004795/0.4437, allocations: 2.888 MB / 0.5296 GB, free: 11.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4452, allocations: 306.5 kB / 0.5299 GB, free: 11.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006905/0.4521, allocations: 4.883 MB / 0.5347 GB, free: 6.715 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.4526, allocations: 0.5364 MB / 0.5352 GB, free: 6.152 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007305/0.4533, allocations: 250.5 kB / 0.5355 GB, free: 5.906 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007202/0.4541, allocations: 359.3 kB / 0.5358 GB, free: 5.555 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4541, allocations: 4 kB / 0.5358 GB, free: 5.551 MB / 442.7 MB Notification: Performance of Templates: time 0.07706/0.5311, allocations: 71.06 MB / 0.6052 GB, free: 15.02 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.792144638951868]