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.001317/0.001317, allocations: 80.88 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.9421/0.9421, allocations: 177.2 MB / 200.3 MB, free: 5.688 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.001214/0.001214, allocations: 152.6 kB / 257 MB, free: 12.98 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.4134/0.4134, allocations: 80.24 MB / 340.5 MB, free: 9.641 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_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.122e-06/1.122e-06, allocations: 0 / 383.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.334e-05, allocations: 6.312 kB / 383.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005029/0.005043, allocations: 6.148 MB / 390 MB, free: 8.508 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003446/0.008489, allocations: 2.051 MB / 392 MB, free: 6.449 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.008855, allocations: 15.94 kB / 392 MB, free: 6.434 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.009372, allocations: 249.8 kB / 392.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.01069, allocations: 0.8813 MB / 393.2 MB, free: 5.301 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008342/0.01153, allocations: 0.6431 MB / 393.8 MB, free: 4.656 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.01277, allocations: 1.58 MB / 395.4 MB, free: 3.066 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.01303, allocations: 224.8 kB / 395.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006772/0.01371, allocations: 0.9117 MB / 396.5 MB, free: 1.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005449/0.01425, allocations: 0.6776 MB / 397.2 MB, free: 1.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.01437, allocations: 124 kB / 397.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.01468, allocations: 271.8 kB / 397.6 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.01488, allocations: 334.5 kB / 397.9 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.01517, allocations: 462.5 kB / 398.3 MB, free: 64 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008931/0.01606, allocations: 1.226 MB / 399.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01607, allocations: 0 / 399.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01607, allocations: 0 / 399.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.01607, allocations: 3.938 kB / 399.6 MB, free: 14.83 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.003879/0.01995, allocations: 2.638 MB / 402.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.01998, allocations: 8.031 kB / 402.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/0.02281, allocations: 0.9753 MB / 403.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.0235, allocations: 0.5856 MB / 403.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.02367, allocations: 333.3 kB / 404.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.02378, allocations: 87.98 kB / 404.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006966/0.02447, allocations: 0.6885 MB / 404.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.02449, allocations: 0 / 404.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.02454, allocations: 35.94 kB / 404.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.02455, allocations: 16 kB / 404.9 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.025, allocations: 346.3 kB / 405.3 MB, free: 8.961 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.002766/0.02777, allocations: 1.922 MB / 407.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.02993, allocations: 1.174 MB / 408.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.03019, allocations: 245.4 kB / 408.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.092e-05/0.03027, allocations: 17 kB / 408.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004321/0.0307, allocations: 493.9 kB / 409.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 1.953e-06/0.0307, allocations: 0 / 409.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.009972/0.04067, allocations: 4.558 MB / 413.7 MB, free: 436 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.04072, allocations: 111.8 kB / 413.8 MB, free: 300 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.04128, allocations: 0.8486 MB / 414.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.04134, allocations: 45.7 kB / 414.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.04151, allocations: 375.2 kB / 415 MB, free: 15.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.04172, allocations: 372.8 kB / 415.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.04202, allocations: 279.3 kB / 415.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.04209, allocations: 301.1 kB / 416 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.04261, allocations: 382.1 kB / 416.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/0.04355, allocations: 0.5471 MB / 416.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.04523, allocations: 1.513 MB / 418.4 MB, free: 11.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.04523, allocations: 0 / 418.4 MB, free: 11.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004543/0.04978, allocations: 2.674 MB / 421.1 MB, free: 8.781 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.04982, allocations: 63.39 kB / 421.1 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.04983, allocations: 4 kB / 421.1 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003724/0.05355, allocations: 1.475 MB / 422.6 MB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.05421, allocations: 287.6 kB / 422.9 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004764/0.05897, allocations: 3.369 MB / 426.3 MB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/0.05957, allocations: 163.2 kB / 426.4 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.05964, allocations: 39.98 kB / 426.5 MB, free: 3.281 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: 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.0002973/0.05993, allocations: 223.1 kB / 426.7 MB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.06006, allocations: 103.9 kB / 426.8 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.06396, allocations: 2.29 MB / 429.1 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.06397, allocations: 12 kB / 429.1 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.06397, allocations: 4 kB / 429.1 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.06398, allocations: 7.984 kB / 429.1 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004993/0.06898, allocations: 2.975 MB / 432.1 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.06898, allocations: 0 / 432.1 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.06924, allocations: 103.9 kB / 432.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/0.07276, allocations: 1.585 MB / 433.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.07281, allocations: 23.98 kB / 433.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/0.07827, allocations: 4.787 MB / 438.6 MB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.07828, allocations: 0 / 438.6 MB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/0.08244, allocations: 2.634 MB / 441.2 MB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.08258, allocations: 126.8 kB / 441.3 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.08269, allocations: 24 kB / 441.3 MB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.08306, allocations: 71.94 kB / 441.4 MB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.08335, allocations: 200.6 kB / 441.6 MB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.08339, allocations: 16 kB / 441.6 MB, free: 3.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00034/0.08373, allocations: 442.6 kB / 442.1 MB, free: 3.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08373, allocations: 3.938 kB / 442.1 MB, free: 3.312 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009364/0.08467, allocations: 463.7 kB / 442.5 MB, free: 2.859 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 {(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.0002073/0.08487, allocations: 125.3 kB / 442.6 MB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.08682, allocations: 1.573 MB / 444.2 MB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.08683, allocations: 12 kB / 444.2 MB, free: 1.082 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1423/0.2292, allocations: 1.087 MB / 445.3 MB, free: 60.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.23, allocations: 124.8 kB / 445.4 MB, free: 60.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.2327, allocations: 1.993 MB / 447.4 MB, free: 59.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2329, allocations: 246.8 kB / 447.7 MB, free: 59.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.2331, allocations: 114.9 kB / 447.8 MB, free: 59.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.2334, allocations: 183.8 kB / 448 MB, free: 59.35 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2334, allocations: 0.5 kB / 448 MB, free: 59.35 MB / 410.7 MB Notification: Performance of Templates: time 0.02485/0.2582, allocations: 26.52 MB / 474.5 MB, free: 43.06 MB / 410.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: 3.6251781969331205]