Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001433/0.001433, 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.888/0.888, allocations: 177.2 MB / 200.3 MB, free: 5.684 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.001126/0.001126, 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.4284/0.4284, allocations: 80.24 MB / 340.5 MB, free: 9.633 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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 383.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.286e-05, allocations: 2.312 kB / 383.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004953/0.004976, allocations: 6.105 MB / 389.9 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.007611, allocations: 2.044 MB / 391.9 MB, free: 6.488 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.007971, allocations: 15.94 kB / 392 MB, free: 6.473 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.008518, allocations: 245.8 kB / 392.2 MB, free: 6.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.009703, allocations: 0.8814 MB / 393.1 MB, free: 5.344 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007477/0.01045, allocations: 0.6392 MB / 393.7 MB, free: 4.703 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.01155, allocations: 1.568 MB / 395.3 MB, free: 3.125 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.01183, allocations: 228.8 kB / 395.5 MB, free: 2.879 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008097/0.01264, allocations: 0.9039 MB / 396.4 MB, free: 1.973 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000589/0.01323, allocations: 0.6776 MB / 397.1 MB, free: 1.293 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.01336, allocations: 128 kB / 397.2 MB, free: 1.168 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.01366, allocations: 271.8 kB / 397.5 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.01388, allocations: 334.5 kB / 397.8 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.01421, allocations: 458.5 kB / 398.3 MB, free: 128 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000975/0.01518, allocations: 1.226 MB / 399.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01519, allocations: 4 kB / 399.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01519, allocations: 0 / 399.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.0152, allocations: 0 / 399.5 MB, free: 14.89 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003893/0.01909, allocations: 2.642 MB / 402.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.01912, allocations: 8.031 kB / 402.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.02162, allocations: 0.9792 MB / 403.1 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.02234, allocations: 0.5818 MB / 403.7 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.02253, allocations: 337.2 kB / 404 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.02264, allocations: 87.98 kB / 404.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/0.02334, allocations: 0.6807 MB / 404.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.02336, allocations: 7.938 kB / 404.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.02341, allocations: 31.94 kB / 404.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.02342, allocations: 20 kB / 404.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.02387, allocations: 342.3 kB / 405.2 MB, free: 9.02 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.002584/0.02646, allocations: 1.88 MB / 407.1 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.02854, allocations: 1.167 MB / 408.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.02881, allocations: 253.3 kB / 408.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.02888, allocations: 17 kB / 408.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/0.02931, allocations: 484.5 kB / 409 MB, free: 5.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 2.355e-06/0.02932, allocations: 4 kB / 409 MB, free: 5.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=95): time 0.009578/0.03889, allocations: 4.664 MB / 413.6 MB, free: 436 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.03894, allocations: 115.8 kB / 413.8 MB, free: 296 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.03949, allocations: 0.8605 MB / 414.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.03956, allocations: 41.7 kB / 414.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.03972, allocations: 367.2 kB / 415 MB, free: 15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.03992, allocations: 368.8 kB / 415.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.04019, allocations: 275.3 kB / 415.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.04025, allocations: 301.1 kB / 415.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.04072, allocations: 382.1 kB / 416.3 MB, free: 13.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.04125, allocations: 0.5315 MB / 416.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.04277, allocations: 1.492 MB / 418.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.04278, allocations: 0 / 418.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004414/0.04719, allocations: 2.69 MB / 421 MB, free: 8.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.04723, allocations: 59.41 kB / 421.1 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.04724, allocations: 0 / 421.1 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/0.05099, allocations: 1.584 MB / 422.7 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.05159, allocations: 267.6 kB / 422.9 MB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004677/0.05627, allocations: 3.482 MB / 426.4 MB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.05691, allocations: 159.1 kB / 426.6 MB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.05697, allocations: 39.97 kB / 426.6 MB, free: 3.109 MB / 394.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (155): * Single equations (assignments): 152 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003204/0.05729, allocations: 223.1 kB / 426.8 MB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.05743, allocations: 103.9 kB / 426.9 MB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.06144, allocations: 2.29 MB / 429.2 MB, free: 456 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.06145, allocations: 16 kB / 429.2 MB, free: 440 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.06145, allocations: 7.938 kB / 429.2 MB, free: 432 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.06146, allocations: 7.984 kB / 429.2 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.06618, allocations: 2.968 MB / 432.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.06618, allocations: 0 / 432.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.06643, allocations: 95.89 kB / 432.3 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003578/0.07001, allocations: 1.612 MB / 433.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.07006, allocations: 19.98 kB / 433.9 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005027/0.07509, allocations: 4.764 MB / 438.7 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.07509, allocations: 3.938 kB / 438.7 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.07924, allocations: 2.63 MB / 441.3 MB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.07941, allocations: 122.9 kB / 441.5 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.07951, allocations: 23.98 kB / 441.5 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.07989, allocations: 75.94 kB / 441.6 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.0802, allocations: 188.6 kB / 441.7 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.08024, allocations: 23.92 kB / 441.8 MB, free: 3.598 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003158/0.08055, allocations: 446.8 kB / 442.2 MB, free: 3.152 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08055, allocations: 0 / 442.2 MB, free: 3.152 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008957/0.08145, allocations: 467.6 kB / 442.7 MB, free: 2.695 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002137/0.08166, allocations: 121.2 kB / 442.8 MB, free: 2.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.08375, allocations: 1.607 MB / 444.4 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.08376, allocations: 12 kB / 444.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1451/0.2289, allocations: 1.082 MB / 445.5 MB, free: 60.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.2297, allocations: 123.7 kB / 445.6 MB, free: 60.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.2324, allocations: 1.997 MB / 447.6 MB, free: 59.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2326, allocations: 241.1 kB / 447.8 MB, free: 59.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.2328, allocations: 110.6 kB / 447.9 MB, free: 59.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.2331, allocations: 183.5 kB / 448.1 MB, free: 59.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2331, allocations: 1.125 kB / 448.1 MB, free: 59.61 MB / 410.7 MB Notification: Performance of Templates: time 0.02303/0.2561, allocations: 26.69 MB / 474.8 MB, free: 43.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5964746600948274]