Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001042/0.001042, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9732/0.9732, 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.001321/0.001321, allocations: 156.6 kB / 257 MB, free: 12.98 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.4688/0.4688, allocations: 83.32 MB / 343.6 MB, free: 6.273 MB / 314.7 MB " [Timeout remaining time 179] 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 388 MB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.54e-05, allocations: 2.312 kB / 388 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.00525/0.005266, allocations: 6.164 MB / 394.1 MB, free: 4.348 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.008554, allocations: 2.04 MB / 396.2 MB, free: 2.301 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.008922, allocations: 8 kB / 396.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000555/0.009477, allocations: 253.8 kB / 396.4 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.0108, allocations: 0.8691 MB / 397.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008863/0.01168, allocations: 0.6392 MB / 397.9 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.01293, allocations: 1.572 MB / 399.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.01323, allocations: 226.7 kB / 399.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008154/0.01404, allocations: 0.9078 MB / 400.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.01462, allocations: 0.6776 MB / 401.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.01474, allocations: 124 kB / 401.4 MB, free: 13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.01511, allocations: 283.8 kB / 401.7 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.01531, allocations: 338.5 kB / 402 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.01559, allocations: 462.5 kB / 402.5 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009514/0.01655, allocations: 1.222 MB / 403.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01655, allocations: 0 / 403.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01655, allocations: 4 kB / 403.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.01656, allocations: 0 / 403.7 MB, free: 10.71 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.00417/0.02073, allocations: 2.642 MB / 406.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.02077, allocations: 8.031 kB / 406.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/0.02364, allocations: 0.9753 MB / 407.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.02445, allocations: 0.5934 MB / 407.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.02464, allocations: 329.3 kB / 408.3 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.02474, allocations: 80 kB / 408.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.02546, allocations: 0.6846 MB / 409 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.02547, allocations: 0 / 409 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.02553, allocations: 35.94 kB / 409.1 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.02554, allocations: 20 kB / 409.1 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.026, allocations: 342.3 kB / 409.4 MB, free: 4.844 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.002617/0.02862, allocations: 1.88 MB / 411.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.03076, allocations: 1.18 MB / 412.5 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.03102, allocations: 243.8 kB / 412.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.111e-05/0.0311, allocations: 24.98 kB / 412.7 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.03155, allocations: 478 kB / 413.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 2.635e-06/0.03155, allocations: 0 / 413.2 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of matching and sorting (n=95): time 0.009926/0.04148, allocations: 4.667 MB / 417.9 MB, free: 12.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.04153, allocations: 115.8 kB / 418 MB, free: 12.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005927/0.04213, allocations: 0.8566 MB / 418.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.04219, allocations: 49.67 kB / 418.9 MB, free: 11.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.04237, allocations: 367.2 kB / 419.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.04257, allocations: 372.8 kB / 419.6 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.04284, allocations: 275.3 kB / 419.9 MB, free: 10.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.04291, allocations: 301.1 kB / 420.2 MB, free: 9.871 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.04338, allocations: 378.1 kB / 420.5 MB, free: 9.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.04391, allocations: 0.5354 MB / 421.1 MB, free: 8.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.04552, allocations: 1.485 MB / 422.6 MB, free: 7.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.04552, allocations: 0 / 422.6 MB, free: 7.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004363/0.04989, allocations: 2.694 MB / 425.3 MB, free: 4.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.04993, allocations: 63.39 kB / 425.3 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.04994, allocations: 0 / 425.3 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/0.05365, allocations: 1.574 MB / 426.9 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.05439, allocations: 331.4 kB / 427.2 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004793/0.05918, allocations: 3.493 MB / 430.7 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.05976, allocations: 167.1 kB / 430.9 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.05982, allocations: 39.98 kB / 430.9 MB, free: 14.85 MB / 410.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.000274/0.0601, allocations: 211.1 kB / 431.1 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.06022, allocations: 107.8 kB / 431.2 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003791/0.06401, allocations: 2.302 MB / 433.5 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.06401, allocations: 8 kB / 433.5 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.06402, allocations: 11.94 kB / 433.6 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.06403, allocations: 7.969 kB / 433.6 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00461/0.06864, allocations: 2.96 MB / 436.5 MB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.06864, allocations: 3.938 kB / 436.5 MB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.06893, allocations: 111.8 kB / 436.6 MB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/0.07246, allocations: 1.604 MB / 438.2 MB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.07251, allocations: 20 kB / 438.3 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005097/0.07761, allocations: 4.764 MB / 443 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.07761, allocations: 4 kB / 443 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2225/0.3001, allocations: 2.627 MB / 445.7 MB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/0.3005, allocations: 124.3 kB / 445.8 MB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.3007, allocations: 24.58 kB / 445.8 MB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.3013, allocations: 72.75 kB / 445.9 MB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005401/0.3019, allocations: 189 kB / 446.1 MB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.3019, allocations: 21.28 kB / 446.1 MB, free: 58.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005052/0.3024, allocations: 441.1 kB / 446.5 MB, free: 58.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3024, allocations: 0 / 446.5 MB, free: 58.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001136/0.3035, allocations: 473.4 kB / 447 MB, free: 58.81 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.000237/0.3038, allocations: 124.5 kB / 447.1 MB, free: 58.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.3063, allocations: 1.592 MB / 448.7 MB, free: 58.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.3064, allocations: 10.91 kB / 448.7 MB, free: 58.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.3079, allocations: 1.093 MB / 449.8 MB, free: 57.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.3084, allocations: 136.8 kB / 449.9 MB, free: 57.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.3113, allocations: 1.987 MB / 451.9 MB, free: 57.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3115, allocations: 246.1 kB / 452.1 MB, free: 56.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.3118, allocations: 114.8 kB / 452.3 MB, free: 56.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.3121, allocations: 192.2 kB / 452.4 MB, free: 56.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3121, allocations: 0 / 452.4 MB, free: 56.86 MB / 410.7 MB Notification: Performance of Templates: time 0.0256/0.3377, allocations: 27.03 MB / 479.5 MB, free: 38.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9422010690905154]