Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.001427/0.001427, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.9663/0.9663, allocations: 177.1 MB / 200.2 MB, free: 5.719 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.001163/0.001163, allocations: 156.7 kB / 256.9 MB, free: 12.99 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.2623/0.2623, allocations: 80.25 MB / 393.7 MB, free: 1.98 MB / 314.7 MB " [Timeout remaining time 179] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 490.3 MB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.364e-06/8.587e-06, allocations: 2.312 kB / 490.3 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004801/0.00481, allocations: 6.232 MB / 496.5 MB, free: 5.035 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.00737, allocations: 1.986 MB / 498.5 MB, free: 3.055 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.007716, allocations: 12 kB / 498.5 MB, free: 3.043 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.008236, allocations: 247.5 kB / 498.7 MB, free: 2.801 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.009329, allocations: 0.8847 MB / 499.6 MB, free: 1.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.01004, allocations: 0.6497 MB / 0.4885 GB, free: 1.277 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.01104, allocations: 1.632 MB / 0.4901 GB, free: 15.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.01129, allocations: 215 kB / 0.4903 GB, free: 15.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.01198, allocations: 0.9435 MB / 0.4913 GB, free: 14.47 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.01251, allocations: 0.6983 MB / 0.4919 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.01265, allocations: 131.9 kB / 0.4921 GB, free: 13.64 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.01296, allocations: 279.8 kB / 0.4923 GB, free: 13.37 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.01314, allocations: 346.5 kB / 0.4927 GB, free: 13.03 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.01342, allocations: 475.3 kB / 0.4931 GB, free: 12.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.01447, allocations: 1.253 MB / 0.4943 GB, free: 11.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01447, allocations: 5.484 kB / 0.4943 GB, free: 11.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01447, allocations: 0 / 0.4943 GB, free: 11.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.01448, allocations: 0 / 0.4943 GB, free: 11.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004084/0.01857, allocations: 3.006 MB / 0.4973 GB, free: 8.266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.596e-05/0.01859, allocations: 8.031 kB / 0.4973 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.02102, allocations: 0.933 MB / 0.4982 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.02173, allocations: 0.7877 MB / 0.499 GB, free: 6.496 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.02189, allocations: 337.2 kB / 0.4993 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.022, allocations: 91.89 kB / 0.4994 GB, free: 6.023 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.02268, allocations: 0.6835 MB / 0.5 GB, free: 5.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.02269, allocations: 4 kB / 0.5 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.02274, allocations: 28 kB / 0.5001 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.02275, allocations: 23.94 kB / 0.5001 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.02322, allocations: 399.3 kB / 0.5005 GB, free: 4.867 MB / 426.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.002966/0.02618, allocations: 2.595 MB / 0.503 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.02829, allocations: 1.192 MB / 0.5042 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.02858, allocations: 295.8 kB / 0.5045 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.628e-05/0.02865, allocations: 17 kB / 0.5045 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/0.02909, allocations: 490.5 kB / 0.5049 GB, free: 152 kB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 1.834e-06/0.02909, allocations: 0 / 0.5049 GB, free: 152 kB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.0104/0.03949, allocations: 4.923 MB / 0.5097 GB, free: 11.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.03953, allocations: 115.8 kB / 0.5099 GB, free: 11.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.04018, allocations: 0.9606 MB / 0.5108 GB, free: 10.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.04024, allocations: 45.7 kB / 0.5108 GB, free: 10.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.04051, allocations: 0.5741 MB / 0.5114 GB, free: 9.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.04072, allocations: 376.9 kB / 0.5118 GB, free: 9.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.04104, allocations: 301 kB / 0.512 GB, free: 8.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.04115, allocations: 488.7 kB / 0.5125 GB, free: 8.289 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.04163, allocations: 403.2 kB / 0.5129 GB, free: 7.883 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.04221, allocations: 0.6142 MB / 0.5135 GB, free: 7.203 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.04421, allocations: 1.567 MB / 0.515 GB, free: 5.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.04422, allocations: 11.88 kB / 0.515 GB, free: 5.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004964/0.04918, allocations: 3.028 MB / 0.518 GB, free: 2.469 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.04922, allocations: 63.39 kB / 0.5181 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.04923, allocations: 4 kB / 0.5181 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/0.05325, allocations: 1.633 MB / 0.5197 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.05393, allocations: 287.6 kB / 0.5199 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.05961, allocations: 4.366 MB / 0.5242 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.06025, allocations: 163.2 kB / 0.5243 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.06031, allocations: 47.97 kB / 0.5244 GB, free: 11.78 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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 (162): * Single equations (assignments): 159 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002967/0.06061, allocations: 272.9 kB / 0.5247 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.06077, allocations: 163.2 kB / 0.5248 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.06492, allocations: 2.471 MB / 0.5272 GB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.06493, allocations: 15.94 kB / 0.5272 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.06493, allocations: 4 kB / 0.5272 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.06494, allocations: 7.969 kB / 0.5272 GB, free: 8.805 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/0.07042, allocations: 3.412 MB / 0.5306 GB, free: 5.332 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.07042, allocations: 3.938 kB / 0.5306 GB, free: 5.328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.0707, allocations: 107.9 kB / 0.5307 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/0.07445, allocations: 1.604 MB / 0.5323 GB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.07451, allocations: 23.94 kB / 0.5323 GB, free: 3.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006026/0.08053, allocations: 6.244 MB / 0.5384 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.08053, allocations: 0 / 0.5384 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004611/0.08515, allocations: 2.859 MB / 0.5412 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.08535, allocations: 162.8 kB / 0.5413 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.08545, allocations: 20 kB / 0.5413 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.0859, allocations: 71.94 kB / 0.5414 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.08619, allocations: 204.5 kB / 0.5416 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.08623, allocations: 16 kB / 0.5416 GB, free: 9.719 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003877/0.08662, allocations: 0.5785 MB / 0.5422 GB, free: 9.133 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08662, allocations: 0 / 0.5422 GB, free: 9.133 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009571/0.08757, allocations: 483.6 kB / 0.5426 GB, free: 8.66 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002509/0.08782, allocations: 147.7 kB / 0.5428 GB, free: 8.508 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002673/0.0905, allocations: 1.772 MB / 0.5445 GB, free: 6.668 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.0905, allocations: 0 / 0.5445 GB, free: 6.668 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.09194, allocations: 1.248 MB / 0.5457 GB, free: 5.359 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.09242, allocations: 141.2 kB / 0.5459 GB, free: 5.223 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.09486, allocations: 2.136 MB / 0.548 GB, free: 3.043 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.095, allocations: 245.6 kB / 0.5482 GB, free: 2.781 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.09522, allocations: 116 kB / 0.5483 GB, free: 2.664 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.09552, allocations: 206.2 kB / 0.5485 GB, free: 2.461 MB / 474.7 MB Notification: Performance of SimCode: time 8.91e-07/0.09552, allocations: 0 / 0.5485 GB, free: 2.461 MB / 474.7 MB Notification: Performance of Templates: time 0.02905/0.1246, allocations: 28.66 MB / 0.5765 GB, free: 6 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7948532211594284]