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.001831/0.001831, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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 1.57/1.57, allocations: 177.1 MB / 199.7 MB, free: 5.789 MB / 186.7 MB " [Timeout remaining time 178] 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.002096/0.002096, allocations: 156.5 kB / 256.3 MB, free: 13.15 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.5143/0.5143, allocations: 80.38 MB / 393.1 MB, free: 2.133 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.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.745e-06/2.745e-06, allocations: 0 / 489.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.034e-05/5.308e-05, allocations: 4.844 kB / 489.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.01015/0.0102, allocations: 6.252 MB / 495.5 MB, free: 5.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.01518, allocations: 1.959 MB / 497.5 MB, free: 3.617 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.01624, allocations: 12 kB / 497.5 MB, free: 3.605 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.01715, allocations: 247.6 kB / 497.7 MB, free: 3.363 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.01993, allocations: 0.8614 MB / 498.6 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.02164, allocations: 0.6463 MB / 499.2 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002451/0.02409, allocations: 1.588 MB / 0.4891 GB, free: 284 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004884/0.02458, allocations: 206.9 kB / 0.4893 GB, free: 64 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.02616, allocations: 0.9044 MB / 0.4901 GB, free: 15.16 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.02735, allocations: 0.6742 MB / 0.4908 GB, free: 14.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.02762, allocations: 121.2 kB / 0.4909 GB, free: 14.36 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.02829, allocations: 267.8 kB / 0.4912 GB, free: 14.1 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003964/0.02869, allocations: 338.5 kB / 0.4915 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006285/0.02932, allocations: 460.4 kB / 0.4919 GB, free: 13.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.03178, allocations: 1.74 MB / 0.4936 GB, free: 11.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.03179, allocations: 0 / 0.4936 GB, free: 11.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.03179, allocations: 0 / 0.4936 GB, free: 11.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.007e-05/0.03182, allocations: 0 / 0.4936 GB, free: 11.57 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.01005/0.04187, allocations: 3.048 MB / 0.4966 GB, free: 8.492 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.04191, allocations: 15.97 kB / 0.4966 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005486/0.0474, allocations: 0.9261 MB / 0.4975 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.04943, allocations: 0.8374 MB / 0.4983 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/0.04983, allocations: 333.3 kB / 0.4987 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.05005, allocations: 83.95 kB / 0.4987 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.05247, allocations: 1.105 MB / 0.4998 GB, free: 5.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.05249, allocations: 4 kB / 0.4998 GB, free: 5.086 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.0526, allocations: 35.94 kB / 0.4999 GB, free: 5.051 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.05262, allocations: 19.98 kB / 0.4999 GB, free: 5.031 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.05489, allocations: 0.9464 MB / 0.5008 GB, free: 4.078 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.008282/0.06317, allocations: 3.158 MB / 0.5039 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006506/0.06968, allocations: 1.59 MB / 0.5054 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.07137, allocations: 0.6272 MB / 0.5061 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.0715, allocations: 17 kB / 0.5061 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001948/0.07345, allocations: 0.8462 MB / 0.5069 GB, free: 13.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.656e-06/0.07345, allocations: 0 / 0.5069 GB, free: 13.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02834/0.1018, allocations: 6.129 MB / 0.5129 GB, free: 7.527 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.1019, allocations: 115.8 kB / 0.513 GB, free: 7.387 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.104, allocations: 1.241 MB / 0.5142 GB, free: 6.129 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002355/0.1042, allocations: 45.7 kB / 0.5142 GB, free: 6.078 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/0.1048, allocations: 0.5939 MB / 0.5148 GB, free: 5.477 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/0.1053, allocations: 400.8 kB / 0.5152 GB, free: 5.082 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000673/0.106, allocations: 329.1 kB / 0.5155 GB, free: 4.754 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.1063, allocations: 480.7 kB / 0.516 GB, free: 4.281 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.1081, allocations: 0.7569 MB / 0.5167 GB, free: 3.512 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.1102, allocations: 0.9969 MB / 0.5177 GB, free: 2.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005776/0.116, allocations: 2.711 MB / 0.5203 GB, free: 15.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.116, allocations: 0 / 0.5203 GB, free: 15.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01347/0.1295, allocations: 3.96 MB / 0.5242 GB, free: 11.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-05/0.1296, allocations: 63.39 kB / 0.5243 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.1296, allocations: 4 kB / 0.5243 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.14, allocations: 1.905 MB / 0.5261 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.1417, allocations: 291.6 kB / 0.5264 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.1628, allocations: 8.039 MB / 0.5343 GB, free: 1.207 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.1647, allocations: 171.1 kB / 0.5344 GB, free: 1.039 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.1649, allocations: 55.97 kB / 0.5345 GB, free: 0.9844 MB / 458.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.0007683/0.1657, allocations: 335.2 kB / 0.5348 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.1661, allocations: 159.2 kB / 0.535 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.1786, allocations: 3.439 MB / 0.5383 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.1786, allocations: 12 kB / 0.5383 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.1786, allocations: 11.98 kB / 0.5383 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.1786, allocations: 3.984 kB / 0.5383 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.1938, allocations: 4.714 MB / 0.5429 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.1939, allocations: 0 / 0.5429 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.1946, allocations: 103.8 kB / 0.543 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/0.2049, allocations: 2.021 MB / 0.545 GB, free: 6.066 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/0.2051, allocations: 20 kB / 0.545 GB, free: 6.047 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/0.228, allocations: 9.888 MB / 0.5547 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.228, allocations: 4 kB / 0.5547 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.2429, allocations: 4.37 MB / 0.559 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.2434, allocations: 139 kB / 0.5591 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/0.2438, allocations: 24 kB / 0.5591 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.2451, allocations: 79.92 kB / 0.5592 GB, free: 7.234 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007424/0.2458, allocations: 204.6 kB / 0.5594 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.2459, allocations: 31.98 kB / 0.5594 GB, free: 7.004 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.2473, allocations: 0.7774 MB / 0.5602 GB, free: 6.219 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2473, allocations: 0 / 0.5602 GB, free: 6.219 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001952/0.2493, allocations: 479.5 kB / 0.5606 GB, free: 5.75 MB / 490.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.0003589/0.2496, allocations: 139.1 kB / 0.5608 GB, free: 5.605 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007016/0.2566, allocations: 2.45 MB / 0.5632 GB, free: 3.086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.2566, allocations: 0 / 0.5632 GB, free: 3.086 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004783/0.2614, allocations: 1.606 MB / 0.5647 GB, free: 1.422 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.2626, allocations: 141.2 kB / 0.5649 GB, free: 1.285 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.2675, allocations: 2.227 MB / 0.567 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.2682, allocations: 0.5315 MB / 0.5676 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005377/0.2687, allocations: 116 kB / 0.5677 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/0.269, allocations: 84.48 kB / 0.5677 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of SimCode: time 1.624e-06/0.269, allocations: 0 / 0.5677 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.0491/0.3181, allocations: 26.83 MB / 0.5939 GB, free: 3.523 MB / 0.5105 GB " [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: 6.865973656997085]