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.001175/0.001175, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9438/0.9438, allocations: 177.2 MB / 200.5 MB, free: 5.535 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.001341/0.001341, allocations: 164.5 kB / 257 MB, free: 13.05 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.2907/0.2907, allocations: 80.34 MB / 393.8 MB, free: 3.203 MB / 362.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.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 1.633e-06/1.633e-06, allocations: 0 / 490 MB, free: 63.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.272e-05, allocations: 3.062 kB / 490 MB, free: 63.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004453/0.004476, allocations: 6.291 MB / 496.2 MB, free: 57.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.00714, allocations: 1.975 MB / 498.2 MB, free: 55.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.007547, allocations: 8 kB / 498.2 MB, free: 55.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.008149, allocations: 240 kB / 498.5 MB, free: 54.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.009346, allocations: 0.8617 MB / 499.3 MB, free: 54.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.01008, allocations: 0.6374 MB / 500 MB, free: 53.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008715/0.01095, allocations: 1.585 MB / 0.4898 GB, free: 51.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.01122, allocations: 218.7 kB / 0.49 GB, free: 51.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.0118, allocations: 0.9038 MB / 0.4909 GB, free: 50.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.0123, allocations: 0.6665 MB / 0.4915 GB, free: 50.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.0124, allocations: 120 kB / 0.4917 GB, free: 49.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.01268, allocations: 280.4 kB / 0.4919 GB, free: 49.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.01285, allocations: 331.7 kB / 0.4922 GB, free: 49.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.0131, allocations: 462.5 kB / 0.4927 GB, free: 48.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008126/0.01391, allocations: 1.226 MB / 0.4939 GB, free: 47.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.01392, allocations: 5.031 kB / 0.4939 GB, free: 47.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01392, allocations: 0 / 0.4939 GB, free: 47.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.01393, allocations: 0 / 0.4939 GB, free: 47.64 MB / 410.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.004294/0.01822, allocations: 2.908 MB / 0.4967 GB, free: 44.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.01826, allocations: 8.031 kB / 0.4967 GB, free: 44.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.02131, allocations: 0.9335 MB / 0.4976 GB, free: 43.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.02212, allocations: 0.7961 MB / 0.4984 GB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.02228, allocations: 330.2 kB / 0.4987 GB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.02239, allocations: 91.94 kB / 0.4988 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009057/0.0233, allocations: 0.7477 MB / 0.4995 GB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.02331, allocations: 0 / 0.4995 GB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.02338, allocations: 36.59 kB / 0.4996 GB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.0234, allocations: 16 kB / 0.4996 GB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000741/0.02414, allocations: 0.4939 MB / 0.5001 GB, free: 41.14 MB / 410.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.003298/0.02743, allocations: 2.739 MB / 0.5028 GB, free: 38.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.02991, allocations: 1.251 MB / 0.504 GB, free: 37.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.03033, allocations: 336.9 kB / 0.5043 GB, free: 36.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/0.03041, allocations: 20.98 kB / 0.5043 GB, free: 36.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005964/0.031, allocations: 0.5279 MB / 0.5048 GB, free: 36.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.094e-06/0.031, allocations: 0 / 0.5048 GB, free: 36.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.01099/0.042, allocations: 4.99 MB / 0.5097 GB, free: 31.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.04203, allocations: 123.8 kB / 0.5098 GB, free: 31.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.04269, allocations: 0.9755 MB / 0.5108 GB, free: 30.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.04275, allocations: 45.7 kB / 0.5108 GB, free: 29.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.04298, allocations: 0.5471 MB / 0.5114 GB, free: 29.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.04315, allocations: 376.8 kB / 0.5117 GB, free: 29.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.04342, allocations: 289.1 kB / 0.512 GB, free: 28.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.04345, allocations: 484.6 kB / 0.5125 GB, free: 28.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.04397, allocations: 435.2 kB / 0.5129 GB, free: 27.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.04455, allocations: 0.6377 MB / 0.5135 GB, free: 27.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.04616, allocations: 1.637 MB / 0.5151 GB, free: 25.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.04617, allocations: 4 kB / 0.5151 GB, free: 25.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00499/0.05116, allocations: 3.031 MB / 0.5181 GB, free: 22.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.0512, allocations: 63.39 kB / 0.5181 GB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.05121, allocations: 4 kB / 0.5181 GB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/0.05517, allocations: 1.53 MB / 0.5196 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.05588, allocations: 287.6 kB / 0.5199 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005784/0.06167, allocations: 4.361 MB / 0.5241 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.06238, allocations: 171.1 kB / 0.5243 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.06244, allocations: 51.98 kB / 0.5244 GB, free: 15.74 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.0003282/0.06277, allocations: 255.2 kB / 0.5246 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.06294, allocations: 167.1 kB / 0.5248 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004493/0.06743, allocations: 2.592 MB / 0.5273 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.06744, allocations: 11.98 kB / 0.5273 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.06744, allocations: 8 kB / 0.5273 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.06745, allocations: 3.984 kB / 0.5273 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/0.07282, allocations: 3.648 MB / 0.5309 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.07282, allocations: 4.031 kB / 0.5309 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.0731, allocations: 103.8 kB / 0.531 GB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003898/0.07699, allocations: 1.634 MB / 0.5326 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.07705, allocations: 23.98 kB / 0.5326 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006071/0.08313, allocations: 6.412 MB / 0.5389 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.08313, allocations: 3.984 kB / 0.5389 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/0.08856, allocations: 3.027 MB / 0.5418 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.08875, allocations: 146.9 kB / 0.542 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.08886, allocations: 20 kB / 0.542 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.08931, allocations: 79.92 kB / 0.5421 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.08967, allocations: 192.6 kB / 0.5422 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.08972, allocations: 31.98 kB / 0.5423 GB, free: 12.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005303/0.09025, allocations: 0.6133 MB / 0.5429 GB, free: 12.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09025, allocations: 0 / 0.5429 GB, free: 12.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009898/0.09124, allocations: 475.6 kB / 0.5433 GB, free: 11.87 MB / 426.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.00026/0.0915, allocations: 141.9 kB / 0.5435 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.09411, allocations: 1.798 MB / 0.5452 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.09411, allocations: 0 / 0.5452 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.0958, allocations: 1.302 MB / 0.5465 GB, free: 8.492 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.09631, allocations: 143.6 kB / 0.5466 GB, free: 8.355 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.09902, allocations: 2.055 MB / 0.5486 GB, free: 6.262 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.0992, allocations: 241.4 kB / 0.5489 GB, free: 6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.09944, allocations: 124 kB / 0.549 GB, free: 5.875 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.09962, allocations: 80.48 kB / 0.5491 GB, free: 5.797 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/0.09962, allocations: 0 / 0.5491 GB, free: 5.797 MB / 426.7 MB Notification: Performance of Templates: time 0.0265/0.1261, allocations: 26.84 MB / 0.5753 GB, free: 11.07 MB / 458.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: 4.087315913988277]