Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.0009268/0.0009268, 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 1.018/1.018, allocations: 177.1 MB / 200.5 MB, free: 5.547 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.001809/0.001809, allocations: 156.6 kB / 257 MB, free: 13.06 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.2873/0.2873, allocations: 80.35 MB / 393.8 MB, free: 2.172 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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 490.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.086e-05, allocations: 6.953 kB / 490.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02041/0.02044, allocations: 20.49 MB / 0.4986 GB, free: 6.785 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.03311, allocations: 4.868 MB / 0.5034 GB, free: 1.953 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.03575, allocations: 47.94 kB / 0.5034 GB, free: 1.906 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.03747, allocations: 0.8828 MB / 0.5043 GB, free: 1.016 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005253/0.04273, allocations: 2.35 MB / 0.5066 GB, free: 14.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.04636, allocations: 2.053 MB / 0.5086 GB, free: 12.62 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008362/0.05472, allocations: 5.862 MB / 0.5143 GB, free: 6.734 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.05628, allocations: 0.8649 MB / 0.5151 GB, free: 5.816 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.06119, allocations: 3.311 MB / 0.5184 GB, free: 2.496 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/0.06324, allocations: 2.282 MB / 0.5206 GB, free: 212 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006258/0.06386, allocations: 436 kB / 0.521 GB, free: 15.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.06492, allocations: 0.5934 MB / 0.5216 GB, free: 15.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007031/0.06562, allocations: 1.186 MB / 0.5228 GB, free: 14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.06716, allocations: 1.721 MB / 0.5244 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.07175, allocations: 4.489 MB / 0.5288 GB, free: 7.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.07176, allocations: 4 kB / 0.5288 GB, free: 7.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.07176, allocations: 0 / 0.5288 GB, free: 7.758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.823e-05/0.07185, allocations: 0 / 0.5288 GB, free: 7.758 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01744/0.08929, allocations: 10.12 MB / 0.5387 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.08935, allocations: 12.03 kB / 0.5387 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.1047, allocations: 4.796 MB / 0.5434 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005003/0.1097, allocations: 2.543 MB / 0.5459 GB, free: 6.086 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000658/0.1103, allocations: 1.025 MB / 0.5469 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/0.1108, allocations: 352 kB / 0.5472 GB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/0.1156, allocations: 3.14 MB / 0.5503 GB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/0.1156, allocations: 0 / 0.5503 GB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.1159, allocations: 144 kB / 0.5504 GB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.116, allocations: 87.94 kB / 0.5505 GB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/0.1197, allocations: 2.029 MB / 0.5525 GB, free: 15.11 MB / 442.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.01792/0.1376, allocations: 12.28 MB / 0.5645 GB, free: 2.395 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2155/0.3531, allocations: 2.57 MB / 0.567 GB, free: 62.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003147/0.3562, allocations: 1.211 MB / 0.5682 GB, free: 62.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/0.3566, allocations: 82.42 kB / 0.5683 GB, free: 62.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003193/0.3598, allocations: 1.849 MB / 0.5701 GB, free: 62.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=383): time 1.066e-05/0.3598, allocations: 0.9375 kB / 0.5701 GB, free: 62.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=383): time 0.1362/0.496, allocations: 56.14 MB / 0.6249 GB, free: 28.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.4961, allocations: 153.2 kB / 0.625 GB, free: 28.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/0.4995, allocations: 2.982 MB / 0.6279 GB, free: 26.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003051/0.4998, allocations: 94.83 kB / 0.628 GB, free: 26.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.5009, allocations: 2.067 MB / 0.6301 GB, free: 25.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00099/0.5019, allocations: 1.372 MB / 0.6314 GB, free: 24.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.5029, allocations: 0.7002 MB / 0.6321 GB, free: 24.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.5029, allocations: 480.7 kB / 0.6325 GB, free: 23.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.5048, allocations: 1.138 MB / 0.6336 GB, free: 22.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.507, allocations: 1.968 MB / 0.6356 GB, free: 20.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005961/0.5129, allocations: 4.884 MB / 0.6403 GB, free: 16.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.513, allocations: 8 kB / 0.6403 GB, free: 16.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02184/0.5348, allocations: 11.66 MB / 0.6517 GB, free: 5.566 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.5348, allocations: 67.39 kB / 0.6518 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.5349, allocations: 16 kB / 0.6518 GB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01965/0.5545, allocations: 7.437 MB / 0.6591 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.5565, allocations: 0.6727 MB / 0.6597 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03109/0.5876, allocations: 13.67 MB / 0.6731 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/0.591, allocations: 0.5317 MB / 0.6736 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.5912, allocations: 160 kB / 0.6738 GB, free: 14.95 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (398): * Single equations (assignments): 395 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.5924, allocations: 410.4 kB / 0.6741 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008107/0.5932, allocations: 0.583 MB / 0.6747 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02305/0.6163, allocations: 11.23 MB / 0.6857 GB, free: 2.805 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.6163, allocations: 36 kB / 0.6857 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.952e-05/0.6163, allocations: 28 kB / 0.6857 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/0.6163, allocations: 19.94 kB / 0.6858 GB, free: 2.723 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02787/0.6442, allocations: 14.41 MB / 0.6998 GB, free: 4.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/0.6442, allocations: 0 / 0.6998 GB, free: 4.402 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.6456, allocations: 389.2 kB / 0.7002 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02155/0.6672, allocations: 7.635 MB / 0.7077 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006428/0.6678, allocations: 71.98 kB / 0.7077 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03068/0.6985, allocations: 15.01 MB / 0.7224 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6985, allocations: 3.938 kB / 0.7224 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02758/0.7261, allocations: 12.51 MB / 0.7346 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.7275, allocations: 0.5077 MB / 0.7351 GB, free: 112 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006259/0.7281, allocations: 63.98 kB / 0.7352 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.7301, allocations: 287.6 kB / 0.7354 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001944/0.732, allocations: 0.7723 MB / 0.7362 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/0.7322, allocations: 98.83 kB / 0.7363 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001919/0.7342, allocations: 1.769 MB / 0.738 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7342, allocations: 0 / 0.738 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004006/0.7382, allocations: 1.802 MB / 0.7398 GB, free: 11.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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.0005404/0.7387, allocations: 199.1 kB / 0.74 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01116/0.7499, allocations: 5.976 MB / 0.7458 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7499, allocations: 0 / 0.7458 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008466/0.7583, allocations: 4.489 MB / 0.7502 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.7605, allocations: 458.8 kB / 0.7506 GB, free: 192 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.7713, allocations: 7.343 MB / 0.7578 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.7719, allocations: 0.802 MB / 0.7586 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000862/0.7728, allocations: 367.1 kB / 0.7589 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.7733, allocations: 260.4 kB / 0.7592 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of SimCode: time 1.813e-06/0.7733, allocations: 4 kB / 0.7592 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of Templates: time 0.2701/1.043, allocations: 101.9 MB / 0.8587 GB, free: 99.41 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.465215430129319]