Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001389/0.001389, 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 1.022/1.022, allocations: 177.2 MB / 200.3 MB, free: 5.691 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.00127/0.00127, allocations: 164.6 kB / 257 MB, free: 12.96 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.4087/0.4087, allocations: 80.23 MB / 340.5 MB, free: 9.648 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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 383.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.563e-05, allocations: 2.312 kB / 383.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.00534/0.005365, allocations: 5.888 MB / 389.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.009264, allocations: 1.932 MB / 391.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.01013, allocations: 8 kB / 391.7 MB, free: 6.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.01071, allocations: 226 kB / 391.9 MB, free: 6.547 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.01308, allocations: 0.8191 MB / 392.7 MB, free: 5.723 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.01413, allocations: 0.5728 MB / 393.3 MB, free: 5.148 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.01575, allocations: 1.428 MB / 394.7 MB, free: 3.715 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.01611, allocations: 198.3 kB / 394.9 MB, free: 3.504 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.01713, allocations: 0.8259 MB / 395.7 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000623/0.01776, allocations: 0.6192 MB / 396.4 MB, free: 2.055 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.01789, allocations: 104 kB / 396.5 MB, free: 1.953 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005761/0.01846, allocations: 263.8 kB / 396.7 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.01866, allocations: 290.7 kB / 397 MB, free: 1.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.01898, allocations: 422.5 kB / 397.4 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.02014, allocations: 1.132 MB / 398.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.02014, allocations: 0 / 398.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02014, allocations: 0 / 398.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.02016, allocations: 0 / 398.6 MB, free: 15.86 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004429/0.02459, allocations: 2.482 MB / 401 MB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.02463, allocations: 8.031 kB / 401 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.02753, allocations: 0.9519 MB / 402 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.02825, allocations: 0.5304 MB / 402.5 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.02844, allocations: 363 kB / 402.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.02853, allocations: 72 kB / 403 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/0.02935, allocations: 0.7334 MB / 403.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.02937, allocations: 0 / 403.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.02942, allocations: 32 kB / 403.7 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.02944, allocations: 19.94 kB / 403.7 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/0.02988, allocations: 296.9 kB / 404 MB, free: 10.22 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.002772/0.03265, allocations: 1.793 MB / 405.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.0349, allocations: 1.048 MB / 406.9 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.03517, allocations: 215.6 kB / 407.1 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.488e-05/0.03525, allocations: 16.66 kB / 407.1 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.03528, allocations: 43.22 kB / 407.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.346e-06/0.03528, allocations: 0 / 407.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.01007/0.04536, allocations: 4.391 MB / 411.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.04543, allocations: 97.7 kB / 411.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.04612, allocations: 0.7742 MB / 412.4 MB, free: 1.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.968e-05/0.04621, allocations: 45.7 kB / 412.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.04639, allocations: 339.2 kB / 412.8 MB, free: 1.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.0466, allocations: 329.2 kB / 413.1 MB, free: 1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.04686, allocations: 246.7 kB / 413.3 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000347/0.04721, allocations: 365.7 kB / 413.7 MB, free: 400 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.04764, allocations: 291.2 kB / 414 MB, free: 108 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.04815, allocations: 480.9 kB / 414.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.04959, allocations: 1.26 MB / 415.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.04959, allocations: 0 / 415.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004578/0.05417, allocations: 2.479 MB / 418.2 MB, free: 11.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.0542, allocations: 4 kB / 418.2 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.05421, allocations: 4 kB / 418.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003868/0.05808, allocations: 1.503 MB / 419.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.05885, allocations: 263.6 kB / 420 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/0.06405, allocations: 3.33 MB / 423.3 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000854/0.0649, allocations: 147.2 kB / 423.4 MB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.06497, allocations: 39.98 kB / 423.5 MB, free: 6.402 MB / 394.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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * 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): 1 system {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003766/0.06534, allocations: 194.6 kB / 423.7 MB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.06578, allocations: 242.5 kB / 423.9 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/0.06954, allocations: 2.099 MB / 426 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.06955, allocations: 8 kB / 426 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.06956, allocations: 8 kB / 426 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.06957, allocations: 3.984 kB / 426 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005084/0.07465, allocations: 2.71 MB / 428.7 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.07466, allocations: 4 kB / 428.7 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.07504, allocations: 123.8 kB / 428.8 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00398/0.07902, allocations: 1.566 MB / 430.4 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.07912, allocations: 19.94 kB / 430.4 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00597/0.08509, allocations: 6.173 MB / 436.6 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.08509, allocations: 128 / 436.6 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/0.08928, allocations: 2.328 MB / 438.9 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.08958, allocations: 111.1 kB / 439 MB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.08969, allocations: 16 kB / 439.1 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.09008, allocations: 67.94 kB / 439.1 MB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003765/0.09046, allocations: 176.6 kB / 439.3 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.0905, allocations: 12 kB / 439.3 MB, free: 6.219 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003486/0.09085, allocations: 403.9 kB / 439.7 MB, free: 5.812 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09085, allocations: 0 / 439.7 MB, free: 5.812 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001012/0.09186, allocations: 435.6 kB / 440.1 MB, free: 5.387 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002418/0.0921, allocations: 124.2 kB / 440.2 MB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.09435, allocations: 1.356 MB / 441.6 MB, free: 3.883 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/0.09436, allocations: 12 kB / 441.6 MB, free: 3.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.09588, allocations: 0.8382 MB / 442.5 MB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.09668, allocations: 334.6 kB / 442.8 MB, free: 2.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.09947, allocations: 1.813 MB / 444.6 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.09966, allocations: 225.1 kB / 444.8 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.0999, allocations: 99.12 kB / 444.9 MB, free: 488 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.1001, allocations: 167.3 kB / 445.1 MB, free: 320 kB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1001, allocations: 4 kB / 445.1 MB, free: 316 kB / 410.7 MB Notification: Performance of Templates: time 0.1916/0.2917, allocations: 24.09 MB / 469.2 MB, free: 51.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.6546297166496515]