Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0008982/0.0008982, 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.8588/0.8588, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.00114/0.00114, allocations: 156.6 kB / 257 MB, free: 12.97 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.3751/0.3751, allocations: 83.31 MB / 343.6 MB, free: 6.738 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 387.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.106e-05, allocations: 2.312 kB / 387.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.004617/0.004638, allocations: 6.168 MB / 394.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.007115, allocations: 2.043 MB / 396.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.007386, allocations: 11.94 kB / 396.2 MB, free: 2.434 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.007845, allocations: 249.9 kB / 396.4 MB, free: 2.188 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.008992, allocations: 0.8891 MB / 397.3 MB, free: 1.293 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.009705, allocations: 0.6431 MB / 397.9 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009687/0.01067, allocations: 1.588 MB / 399.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.01092, allocations: 234.6 kB / 399.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006707/0.01159, allocations: 0.9078 MB / 400.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.01211, allocations: 0.6698 MB / 401.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.01223, allocations: 124 kB / 401.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.01252, allocations: 271.8 kB / 401.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.01271, allocations: 334.5 kB / 402.1 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.01299, allocations: 454.5 kB / 402.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008331/0.01383, allocations: 1.233 MB / 403.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01383, allocations: 4 kB / 403.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01383, allocations: 0 / 403.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.01384, allocations: 0 / 403.7 MB, free: 10.82 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003736/0.01757, allocations: 2.634 MB / 406.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.0176, allocations: 8.031 kB / 406.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.02003, allocations: 0.9792 MB / 407.4 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007283/0.02076, allocations: 0.5895 MB / 407.9 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.02093, allocations: 333.2 kB / 408.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.812e-05/0.02103, allocations: 80 kB / 408.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006611/0.02169, allocations: 0.6963 MB / 409 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.02171, allocations: 0 / 409 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.02176, allocations: 43.86 kB / 409.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.02177, allocations: 16 kB / 409.1 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.0222, allocations: 342.3 kB / 409.4 MB, free: 4.945 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.002542/0.02475, allocations: 1.887 MB / 411.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.02679, allocations: 1.176 MB / 412.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.02704, allocations: 246.3 kB / 412.7 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/0.02711, allocations: 17 kB / 412.8 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004113/0.02752, allocations: 489.9 kB / 413.2 MB, free: 1.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 1.994e-06/0.02753, allocations: 0 / 413.2 MB, free: 1.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.009195/0.03672, allocations: 4.559 MB / 417.8 MB, free: 12.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.03676, allocations: 111.8 kB / 417.9 MB, free: 12.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.03729, allocations: 0.8485 MB / 418.8 MB, free: 11.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.03736, allocations: 45.7 kB / 418.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.03758, allocations: 371.2 kB / 419.2 MB, free: 11.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.0378, allocations: 372.8 kB / 419.5 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.03807, allocations: 283.2 kB / 419.8 MB, free: 10.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.03813, allocations: 305.2 kB / 420.1 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.03861, allocations: 382.1 kB / 420.5 MB, free: 9.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.03914, allocations: 0.5393 MB / 421 MB, free: 9.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.04064, allocations: 1.52 MB / 422.5 MB, free: 7.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.04064, allocations: 0 / 422.5 MB, free: 7.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004233/0.04487, allocations: 2.67 MB / 425.2 MB, free: 4.793 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.04491, allocations: 63.39 kB / 425.3 MB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.04492, allocations: 4 kB / 425.3 MB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003443/0.04836, allocations: 1.479 MB / 426.7 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.04899, allocations: 291.5 kB / 427 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.05338, allocations: 3.361 MB / 430.4 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005759/0.05396, allocations: 159.2 kB / 430.5 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.05402, allocations: 43.97 kB / 430.6 MB, free: 15.3 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.0002905/0.05431, allocations: 231.1 kB / 430.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.05444, allocations: 107.8 kB / 430.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/0.0582, allocations: 2.279 MB / 433.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.0582, allocations: 12 kB / 433.2 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.05821, allocations: 8 kB / 433.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.05822, allocations: 11.97 kB / 433.2 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/0.06272, allocations: 2.972 MB / 436.2 MB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.06273, allocations: 0 / 436.2 MB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.06299, allocations: 99.89 kB / 436.3 MB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003516/0.0665, allocations: 1.593 MB / 437.9 MB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.06655, allocations: 20 kB / 437.9 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.07158, allocations: 4.775 MB / 442.7 MB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.07158, allocations: 0 / 442.7 MB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/0.07583, allocations: 2.634 MB / 445.3 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.07597, allocations: 119 kB / 445.4 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/0.07607, allocations: 16 kB / 445.5 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.07646, allocations: 79.92 kB / 445.5 MB, free: 0 / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1628/0.2393, allocations: 191.3 kB / 445.7 MB, free: 60.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.2393, allocations: 20.69 kB / 445.7 MB, free: 60.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005187/0.2398, allocations: 437 kB / 446.2 MB, free: 60.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2398, allocations: 0 / 446.2 MB, free: 60.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00105/0.2409, allocations: 475.2 kB / 446.6 MB, free: 60.4 MB / 410.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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002254/0.2411, allocations: 126.9 kB / 446.8 MB, free: 60.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.2433, allocations: 1.567 MB / 448.3 MB, free: 59.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.2433, allocations: 11.12 kB / 448.3 MB, free: 59.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.2448, allocations: 1.113 MB / 449.4 MB, free: 59.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.2452, allocations: 128.4 kB / 449.6 MB, free: 59.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.2477, allocations: 2.004 MB / 451.6 MB, free: 58.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2478, allocations: 246.3 kB / 451.8 MB, free: 58.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.2481, allocations: 112.8 kB / 451.9 MB, free: 58.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.2484, allocations: 184.3 kB / 452.1 MB, free: 58.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2484, allocations: 2.469 kB / 452.1 MB, free: 58.43 MB / 410.7 MB Notification: Performance of Templates: time 0.02205/0.2704, allocations: 26.54 MB / 478.6 MB, free: 39.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.709789326880127]