Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001895/0.001895, allocations: 85.48 kB / 19.44 MB, free: 344 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.618/1.618, allocations: 177.1 MB / 199.7 MB, free: 5.805 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.002419/0.002419, allocations: 156.6 kB / 256.3 MB, free: 13.16 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.5052/0.5052, allocations: 80.25 MB / 393 MB, free: 2.223 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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 489.2 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.216e-05, allocations: 3.625 kB / 489.2 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02569/0.02573, allocations: 20.59 MB / 0.4978 GB, free: 7.152 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.04032, allocations: 4.918 MB / 0.5027 GB, free: 2.266 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005391/0.04571, allocations: 45.72 kB / 0.5027 GB, free: 2.223 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003453/0.04916, allocations: 0.8826 MB / 0.5036 GB, free: 1.332 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009943/0.05911, allocations: 2.379 MB / 0.5059 GB, free: 14.95 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006499/0.06561, allocations: 2.051 MB / 0.5079 GB, free: 12.9 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0116/0.0772, allocations: 5.948 MB / 0.5137 GB, free: 6.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/0.0804, allocations: 0.865 MB / 0.5145 GB, free: 6.012 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00916/0.08956, allocations: 3.362 MB / 0.5178 GB, free: 2.641 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005331/0.09489, allocations: 2.336 MB / 0.5201 GB, free: 304 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.09716, allocations: 444 kB / 0.5205 GB, free: 15.86 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.1002, allocations: 0.6052 MB / 0.5211 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002324/0.1025, allocations: 1.19 MB / 0.5223 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004847/0.1073, allocations: 1.752 MB / 0.524 GB, free: 12.3 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.1204, allocations: 6.438 MB / 0.5303 GB, free: 5.844 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1204, allocations: 0 / 0.5303 GB, free: 5.844 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1204, allocations: 0 / 0.5303 GB, free: 5.844 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003376/0.1207, allocations: 0 / 0.5303 GB, free: 5.844 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03942/0.1601, allocations: 10.84 MB / 0.5409 GB, free: 10.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1602, allocations: 8.031 kB / 0.5409 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02921/0.1894, allocations: 4.8 MB / 0.5456 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007511/0.1969, allocations: 2.687 MB / 0.5482 GB, free: 3.316 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001236/0.1981, allocations: 1.021 MB / 0.5492 GB, free: 2.141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.1994, allocations: 352 kB / 0.5495 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.2122, allocations: 4.808 MB / 0.5542 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.247e-05/0.2122, allocations: 0 / 0.5542 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.2126, allocations: 140 kB / 0.5543 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.828e-05/0.2127, allocations: 87.94 kB / 0.5544 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.2233, allocations: 4.086 MB / 0.5584 GB, free: 8.629 MB / 490.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.03988/0.2632, allocations: 14.19 MB / 0.5723 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.2751, allocations: 3.982 MB / 0.5762 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006605/0.2817, allocations: 2.474 MB / 0.5786 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005545/0.2823, allocations: 90.83 kB / 0.5787 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007975/0.2903, allocations: 3.241 MB / 0.5818 GB, free: 120 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=385): time 8.636e-06/0.2903, allocations: 4 kB / 0.5818 GB, free: 116 kB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.5193/0.8095, allocations: 60.1 MB / 0.6405 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.8096, allocations: 145.8 kB / 0.6407 GB, free: 139 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004483/0.8141, allocations: 3.884 MB / 0.6445 GB, free: 136.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/0.8151, allocations: 87.58 kB / 0.6445 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.8164, allocations: 2.223 MB / 0.6467 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001979/0.8184, allocations: 1.448 MB / 0.6481 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.8199, allocations: 0.8003 MB / 0.6489 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.82, allocations: 476.8 kB / 0.6494 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004695/0.8247, allocations: 2.514 MB / 0.6518 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00538/0.8301, allocations: 3.423 MB / 0.6552 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01737/0.8475, allocations: 9.685 MB / 0.6646 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.442e-05/0.8475, allocations: 4 kB / 0.6646 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=541) (initialization): time 0.04934/0.8968, allocations: 15.57 MB / 0.6798 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.8969, allocations: 63.41 kB / 0.6799 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.779e-05/0.8969, allocations: 19.94 kB / 0.6799 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04542/0.9424, allocations: 9.359 MB / 0.689 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/0.9461, allocations: 0.6715 MB / 0.6897 GB, free: 90.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1059/1.052, allocations: 31.77 MB / 0.7207 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006115/1.058, allocations: 0.5404 MB / 0.7213 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.059, allocations: 152 kB / 0.7214 GB, free: 57.61 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * 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 (404): * Single equations (assignments): 401 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.003084/1.062, allocations: 0.7159 MB / 0.7221 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002403/1.065, allocations: 0.5881 MB / 0.7227 GB, free: 56.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04837/1.113, allocations: 15.09 MB / 0.7374 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/1.113, allocations: 36 kB / 0.7374 GB, free: 41.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000124/1.113, allocations: 32 kB / 0.7375 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.734e-05/1.113, allocations: 19.92 kB / 0.7375 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0591/1.172, allocations: 19.1 MB / 0.7562 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-05/1.172, allocations: 7.938 kB / 0.7562 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/1.175, allocations: 391.5 kB / 0.7565 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04455/1.22, allocations: 9.36 MB / 0.7657 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001195/1.221, allocations: 71.98 kB / 0.7657 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3021/1.523, allocations: 30.44 MB / 0.7955 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.523, allocations: 1.031 kB / 0.7955 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05859/1.582, allocations: 18.53 MB / 0.8136 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/1.584, allocations: 0.5094 MB / 0.8141 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00169/1.586, allocations: 64.34 kB / 0.8141 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005091/1.591, allocations: 284.8 kB / 0.8144 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003294/1.594, allocations: 0.8182 MB / 0.8152 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004955/1.594, allocations: 104.5 kB / 0.8153 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003438/1.598, allocations: 2.32 MB / 0.8176 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.598, allocations: 0 / 0.8176 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006018/1.604, allocations: 1.818 MB / 0.8193 GB, free: 153.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007244/1.605, allocations: 201.1 kB / 0.8195 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02354/1.628, allocations: 8.9 MB / 0.8282 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.628, allocations: 3.5 kB / 0.8282 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01784/1.646, allocations: 5.897 MB / 0.834 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/1.65, allocations: 482.4 kB / 0.8344 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/1.664, allocations: 8.201 MB / 0.8425 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/1.665, allocations: 1.944 MB / 0.8443 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001619/1.667, allocations: 377.2 kB / 0.8447 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/1.668, allocations: 255.8 kB / 0.845 GB, free: 138 MB / 0.5261 GB Notification: Performance of SimCode: time 2.655e-06/1.668, allocations: 0 / 0.845 GB, free: 138 MB / 0.5261 GB Notification: Performance of Templates: time 0.1209/1.789, allocations: 104.2 MB / 0.9467 GB, free: 37.89 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.125978084979579]