Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.0009798/0.0009798, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9268/0.9268, allocations: 177.1 MB / 200.5 MB, free: 5.828 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.001781/0.001781, allocations: 163.3 kB / 257 MB, free: 13.2 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.2883/0.2883, allocations: 80.24 MB / 393.7 MB, free: 3.289 MB / 362.7 MB " [Timeout remaining time 179] 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 489.8 MB, free: 63.45 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.942e-05, allocations: 2.312 kB / 489.8 MB, free: 63.45 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.006006/0.006025, allocations: 6.286 MB / 496.1 MB, free: 57.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004052/0.01008, allocations: 1.971 MB / 498.1 MB, free: 55.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.01067, allocations: 15.94 kB / 498.1 MB, free: 55.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006834/0.01136, allocations: 234.6 kB / 498.3 MB, free: 54.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.01317, allocations: 0.8625 MB / 499.2 MB, free: 54.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.01432, allocations: 0.6419 MB / 499.8 MB, free: 53.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.01585, allocations: 1.577 MB / 0.4897 GB, free: 51.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.01625, allocations: 218.6 kB / 0.4899 GB, free: 51.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.01728, allocations: 0.9048 MB / 0.4907 GB, free: 50.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.01785, allocations: 0.6707 MB / 0.4914 GB, free: 50.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.01803, allocations: 120 kB / 0.4915 GB, free: 49.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.01838, allocations: 272.8 kB / 0.4918 GB, free: 49.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.01855, allocations: 338.5 kB / 0.4921 GB, free: 49.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.0188, allocations: 462.5 kB / 0.4925 GB, free: 48.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009718/0.01977, allocations: 1.227 MB / 0.4937 GB, free: 47.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01977, allocations: 0 / 0.4937 GB, free: 47.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.01977, allocations: 0 / 0.4937 GB, free: 47.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.0198, allocations: 0 / 0.4937 GB, free: 47.67 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004477/0.02427, allocations: 2.907 MB / 0.4966 GB, free: 44.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.02431, allocations: 12.56 kB / 0.4966 GB, free: 44.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.0273, allocations: 0.9297 MB / 0.4975 GB, free: 43.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009047/0.0282, allocations: 0.8007 MB / 0.4983 GB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.02835, allocations: 337.2 kB / 0.4986 GB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.02845, allocations: 87.95 kB / 0.4987 GB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/0.02937, allocations: 0.7512 MB / 0.4994 GB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.02939, allocations: 1.281 kB / 0.4994 GB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.02945, allocations: 35.92 kB / 0.4995 GB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.02946, allocations: 20 kB / 0.4995 GB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.0302, allocations: 498.6 kB / 0.4999 GB, free: 41.17 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.003182/0.03338, allocations: 2.729 MB / 0.5026 GB, free: 38.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.03581, allocations: 1.251 MB / 0.5038 GB, free: 37.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.03621, allocations: 351.2 kB / 0.5042 GB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-05/0.03628, allocations: 21.53 kB / 0.5042 GB, free: 36.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005448/0.03682, allocations: 0.5272 MB / 0.5047 GB, free: 36.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 1.793e-06/0.03683, allocations: 0 / 0.5047 GB, free: 36.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.01101/0.04784, allocations: 4.994 MB / 0.5096 GB, free: 31.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.04787, allocations: 115.8 kB / 0.5097 GB, free: 31.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.04853, allocations: 0.9755 MB / 0.5106 GB, free: 30.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.04859, allocations: 49.64 kB / 0.5107 GB, free: 30 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.04879, allocations: 0.551 MB / 0.5112 GB, free: 29.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.04899, allocations: 372.8 kB / 0.5116 GB, free: 29.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.04926, allocations: 289.1 kB / 0.5119 GB, free: 28.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.407e-05/0.04929, allocations: 484.7 kB / 0.5123 GB, free: 28.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005251/0.04982, allocations: 427.2 kB / 0.5127 GB, free: 27.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/0.05043, allocations: 0.6416 MB / 0.5134 GB, free: 27.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.0521, allocations: 1.645 MB / 0.515 GB, free: 25.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.0521, allocations: 4 kB / 0.515 GB, free: 25.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005003/0.05711, allocations: 3.035 MB / 0.5179 GB, free: 22.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.05714, allocations: 59.41 kB / 0.518 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.05715, allocations: 4 kB / 0.518 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003999/0.06114, allocations: 1.53 MB / 0.5195 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.06183, allocations: 291.6 kB / 0.5198 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005982/0.06781, allocations: 4.353 MB / 0.524 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.06847, allocations: 167.1 kB / 0.5242 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.06854, allocations: 59.97 kB / 0.5242 GB, free: 15.76 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (161): * Single equations (assignments): 158 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003059/0.06885, allocations: 262.2 kB / 0.5245 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.069, allocations: 159.2 kB / 0.5246 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/0.07355, allocations: 2.584 MB / 0.5272 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.07355, allocations: 12 kB / 0.5272 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.07356, allocations: 8 kB / 0.5272 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.07357, allocations: 7.969 kB / 0.5272 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/0.07894, allocations: 3.663 MB / 0.5308 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.07894, allocations: 0 / 0.5308 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.07921, allocations: 99.89 kB / 0.5309 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003947/0.08316, allocations: 1.63 MB / 0.5324 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.08322, allocations: 20 kB / 0.5325 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00637/0.08959, allocations: 6.416 MB / 0.5387 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.08959, allocations: 4 kB / 0.5387 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005725/0.09532, allocations: 3.027 MB / 0.5417 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.09546, allocations: 146.9 kB / 0.5418 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.09557, allocations: 31.98 kB / 0.5419 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.09603, allocations: 71.94 kB / 0.5419 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/0.09637, allocations: 196.5 kB / 0.5421 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.09642, allocations: 31.98 kB / 0.5421 GB, free: 12.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000555/0.09697, allocations: 0.6133 MB / 0.5427 GB, free: 12.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09697, allocations: 0 / 0.5427 GB, free: 12.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008941/0.09787, allocations: 475.6 kB / 0.5432 GB, free: 11.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/0.09808, allocations: 142 kB / 0.5433 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002636/0.1007, allocations: 1.794 MB / 0.5451 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1007, allocations: 0 / 0.5451 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.1024, allocations: 1.298 MB / 0.5464 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.1029, allocations: 140.3 kB / 0.5465 GB, free: 8.379 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.1058, allocations: 2.054 MB / 0.5485 GB, free: 6.285 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.106, allocations: 249.4 kB / 0.5487 GB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.1062, allocations: 116 kB / 0.5488 GB, free: 5.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.1064, allocations: 84.47 kB / 0.5489 GB, free: 5.816 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1064, allocations: 4 kB / 0.5489 GB, free: 5.812 MB / 426.7 MB Notification: Performance of Templates: time 0.02739/0.1338, allocations: 26.83 MB / 0.5751 GB, free: 11.12 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.095630964962766]