Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001249/0.001249, allocations: 80.94 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.9717/0.9717, allocations: 177.2 MB / 200.3 MB, free: 4.816 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.001202/0.001202, allocations: 167.5 kB / 257 MB, free: 12.62 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.3979/0.3979, allocations: 83.3 MB / 343.6 MB, free: 6.52 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 3.938 kB / 388 MB, free: 10.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.204e-05, allocations: 2.312 kB / 388 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004879/0.004891, allocations: 6.285 MB / 394.3 MB, free: 4.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.007507, allocations: 2.082 MB / 396.3 MB, free: 2.234 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.007787, allocations: 12 kB / 396.4 MB, free: 2.223 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.008278, allocations: 241.8 kB / 396.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.009404, allocations: 0.8929 MB / 397.5 MB, free: 1.086 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000737/0.01014, allocations: 0.6431 MB / 398.1 MB, free: 452 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.01139, allocations: 1.635 MB / 399.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.01164, allocations: 230.7 kB / 400 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000679/0.01232, allocations: 0.939 MB / 400.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.01289, allocations: 0.7048 MB / 401.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.01301, allocations: 132 kB / 401.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.01334, allocations: 287.8 kB / 402 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.01353, allocations: 342.5 kB / 402.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.01381, allocations: 482.4 kB / 402.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008828/0.01469, allocations: 1.257 MB / 404.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01469, allocations: 0 / 404.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.0147, allocations: 8 kB / 404.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.01471, allocations: 3.938 kB / 404.1 MB, free: 10.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004231/0.01894, allocations: 2.701 MB / 406.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.01896, allocations: 8.031 kB / 406.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/0.02181, allocations: 0.9792 MB / 407.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.0225, allocations: 0.5976 MB / 408.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.02268, allocations: 337.2 kB / 408.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.02278, allocations: 91.94 kB / 408.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/0.02348, allocations: 0.6924 MB / 409.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.02349, allocations: 0 / 409.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.02354, allocations: 32 kB / 409.5 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.02356, allocations: 23.94 kB / 409.6 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.024, allocations: 346.3 kB / 409.9 MB, free: 4.453 MB / 378.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.002618/0.02662, allocations: 1.911 MB / 411.8 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.02898, allocations: 1.176 MB / 413 MB, free: 1.293 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.02924, allocations: 248.2 kB / 413.2 MB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.815e-05/0.02931, allocations: 24.98 kB / 413.3 MB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.02974, allocations: 486 kB / 413.7 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 1.863e-06/0.02974, allocations: 0 / 413.7 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.009909/0.03965, allocations: 4.668 MB / 418.4 MB, free: 11.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.03969, allocations: 115.8 kB / 418.5 MB, free: 11.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.04024, allocations: 0.873 MB / 419.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.0403, allocations: 45.7 kB / 419.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.04073, allocations: 375.2 kB / 419.8 MB, free: 10.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.04092, allocations: 372.8 kB / 420.2 MB, free: 9.992 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.04121, allocations: 283.3 kB / 420.4 MB, free: 9.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.04127, allocations: 305.1 kB / 420.7 MB, free: 9.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.04176, allocations: 386.1 kB / 421.1 MB, free: 9.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/0.04232, allocations: 0.551 MB / 421.7 MB, free: 8.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.0439, allocations: 1.521 MB / 423.2 MB, free: 6.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.0439, allocations: 0 / 423.2 MB, free: 6.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004584/0.04849, allocations: 2.749 MB / 425.9 MB, free: 4.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.04853, allocations: 63.39 kB / 426 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.04854, allocations: 4 kB / 426 MB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004095/0.05263, allocations: 1.599 MB / 427.6 MB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.05343, allocations: 352.4 kB / 427.9 MB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.05865, allocations: 3.541 MB / 431.5 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/0.05929, allocations: 167.1 kB / 431.7 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.05936, allocations: 39.97 kB / 431.7 MB, free: 14.18 MB / 410.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 2 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003033/0.05966, allocations: 223.4 kB / 431.9 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.0598, allocations: 115.8 kB / 432 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/0.06405, allocations: 2.302 MB / 434.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.06406, allocations: 16 kB / 434.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.06406, allocations: 12 kB / 434.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.06407, allocations: 3.984 kB / 434.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.06872, allocations: 2.983 MB / 437.3 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.06872, allocations: 0 / 437.3 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.06903, allocations: 115.8 kB / 437.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003563/0.0726, allocations: 1.584 MB / 439 MB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.07265, allocations: 16 kB / 439.1 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.07799, allocations: 4.799 MB / 443.9 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.07799, allocations: 0 / 443.9 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1685/0.2465, allocations: 2.646 MB / 446.5 MB, free: 58.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.2469, allocations: 122.6 kB / 446.6 MB, free: 58.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.247, allocations: 21.91 kB / 446.6 MB, free: 58.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/0.2476, allocations: 76.69 kB / 446.7 MB, free: 58.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006042/0.2482, allocations: 196.4 kB / 446.9 MB, free: 58.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.2482, allocations: 20.62 kB / 446.9 MB, free: 58.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005475/0.2488, allocations: 453.8 kB / 447.4 MB, free: 58.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2488, allocations: 0.5 kB / 447.4 MB, free: 58.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001242/0.25, allocations: 488.1 kB / 447.8 MB, free: 58.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/0.2503, allocations: 119.8 kB / 448 MB, free: 58.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.2532, allocations: 1.643 MB / 449.6 MB, free: 58.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/0.2532, allocations: 10.62 kB / 449.6 MB, free: 58.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.2547, allocations: 1.082 MB / 450.7 MB, free: 58.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.2552, allocations: 135.1 kB / 450.8 MB, free: 58.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.2581, allocations: 2.065 MB / 452.9 MB, free: 57.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2583, allocations: 246.8 kB / 453.1 MB, free: 57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.2586, allocations: 113.1 kB / 453.2 MB, free: 56.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.2589, allocations: 189 kB / 453.4 MB, free: 56.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.2589, allocations: 3.781 kB / 453.4 MB, free: 56.95 MB / 410.7 MB Notification: Performance of Templates: time 0.0283/0.2872, allocations: 27.67 MB / 481.1 MB, free: 36.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6912974501028657]