Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.0009688/0.0009688, 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.9464/0.9464, allocations: 177.2 MB / 200.4 MB, free: 5.328 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.001138/0.001138, allocations: 156.4 kB / 257 MB, free: 12.78 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.3954/0.3954, allocations: 83.31 MB / 343.6 MB, free: 6.652 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 387.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.572e-05, allocations: 2.312 kB / 387.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005594/0.005619, allocations: 6.171 MB / 394.1 MB, free: 4.523 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.008537, allocations: 2.043 MB / 396.2 MB, free: 2.473 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.008864, allocations: 8 kB / 396.2 MB, free: 2.465 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.009384, allocations: 249.8 kB / 396.4 MB, free: 2.219 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.01065, allocations: 0.8884 MB / 397.3 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000811/0.01147, allocations: 0.6392 MB / 397.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.01251, allocations: 1.588 MB / 399.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/0.01308, allocations: 222.8 kB / 399.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007641/0.01384, allocations: 0.9194 MB / 400.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005715/0.01441, allocations: 0.6736 MB / 401.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.01453, allocations: 124 kB / 401.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.01483, allocations: 271.8 kB / 401.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.01504, allocations: 334.5 kB / 402 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.01533, allocations: 458.4 kB / 402.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008841/0.01621, allocations: 1.226 MB / 403.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01621, allocations: 0 / 403.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01621, allocations: 3.938 kB / 403.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.01622, allocations: 4 kB / 403.7 MB, free: 10.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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003866/0.02009, allocations: 2.634 MB / 406.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.02012, allocations: 8.031 kB / 406.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/0.02289, allocations: 0.9831 MB / 407.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.02357, allocations: 0.5856 MB / 407.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.02374, allocations: 329.3 kB / 408.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.02384, allocations: 84 kB / 408.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.02453, allocations: 0.6963 MB / 409 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.02454, allocations: 4 kB / 409 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.0246, allocations: 35.94 kB / 409.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.02461, allocations: 16 kB / 409.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.02504, allocations: 342.3 kB / 409.4 MB, free: 4.984 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.002536/0.02758, allocations: 1.887 MB / 411.3 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.02966, allocations: 1.169 MB / 412.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.02992, allocations: 246.3 kB / 412.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-05/0.02999, allocations: 20.98 kB / 412.7 MB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.03041, allocations: 485.9 kB / 413.2 MB, free: 1.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.274e-06/0.03041, allocations: 3.938 kB / 413.2 MB, free: 1.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.009732/0.04014, allocations: 4.566 MB / 417.8 MB, free: 12.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.04018, allocations: 111.8 kB / 417.9 MB, free: 12.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.04071, allocations: 0.8524 MB / 418.7 MB, free: 11.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.04077, allocations: 45.7 kB / 418.8 MB, free: 11.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.04095, allocations: 363.2 kB / 419.1 MB, free: 11.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.04114, allocations: 372.8 kB / 419.5 MB, free: 10.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.04142, allocations: 283.3 kB / 419.8 MB, free: 10.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.04149, allocations: 301.1 kB / 420.1 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.04198, allocations: 386.1 kB / 420.5 MB, free: 9.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.04252, allocations: 0.5433 MB / 421 MB, free: 9.125 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.04439, allocations: 1.517 MB / 422.5 MB, free: 7.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.04439, allocations: 0 / 422.5 MB, free: 7.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005615/0.05001, allocations: 2.674 MB / 425.2 MB, free: 4.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.05005, allocations: 59.41 kB / 425.2 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.05006, allocations: 4 kB / 425.3 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004709/0.05477, allocations: 1.482 MB / 426.7 MB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.05564, allocations: 287.6 kB / 427 MB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006086/0.06173, allocations: 3.353 MB / 430.4 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/0.06249, allocations: 167.1 kB / 430.5 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/0.06258, allocations: 47.97 kB / 430.6 MB, free: 15.33 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.0003455/0.06293, allocations: 231.1 kB / 430.8 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.06309, allocations: 103.9 kB / 430.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/0.06823, allocations: 2.283 MB / 433.2 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.06824, allocations: 12 kB / 433.2 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.06825, allocations: 8 kB / 433.2 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-06/0.06826, allocations: 3.984 kB / 433.2 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006351/0.07461, allocations: 2.975 MB / 436.2 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.07461, allocations: 0 / 436.2 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.07497, allocations: 99.89 kB / 436.3 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004736/0.07971, allocations: 1.597 MB / 437.9 MB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.07978, allocations: 19.98 kB / 437.9 MB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/0.08666, allocations: 4.775 MB / 442.7 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.08666, allocations: 0 / 442.7 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/0.09219, allocations: 2.634 MB / 445.3 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.09235, allocations: 119 kB / 445.4 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.09247, allocations: 20 kB / 445.4 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.09299, allocations: 75.88 kB / 445.5 MB, free: 32 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1788/0.2718, allocations: 190.3 kB / 445.7 MB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-05/0.2719, allocations: 20.92 kB / 445.7 MB, free: 60.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005532/0.2724, allocations: 439.2 kB / 446.2 MB, free: 60.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2724, allocations: 0 / 446.2 MB, free: 60.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001342/0.2738, allocations: 473.5 kB / 446.6 MB, free: 60.41 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.0002841/0.2741, allocations: 122 kB / 446.7 MB, free: 60.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.2769, allocations: 1.571 MB / 448.3 MB, free: 59.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.042e-05/0.2769, allocations: 10.81 kB / 448.3 MB, free: 59.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.2787, allocations: 1.109 MB / 449.4 MB, free: 59.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.2793, allocations: 130 kB / 449.6 MB, free: 59.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.2828, allocations: 2.004 MB / 451.6 MB, free: 58.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.2831, allocations: 241.4 kB / 451.8 MB, free: 58.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000311/0.2834, allocations: 114.7 kB / 451.9 MB, free: 58.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.2837, allocations: 184.5 kB / 452.1 MB, free: 58.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/0.2837, allocations: 0 / 452.1 MB, free: 58.45 MB / 410.7 MB Notification: Performance of Templates: time 0.02603/0.3097, allocations: 26.53 MB / 478.6 MB, free: 39.56 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.843594809062779]