Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001443/0.001443, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.355/1.355, allocations: 230.6 MB / 253.4 MB, free: 14.31 MB / 206.1 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.001657/0.001657, allocations: 213.2 kB / 310 MB, free: 3.098 MB / 238.1 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.5847/0.5847, allocations: 107.2 MB / 473.6 MB, free: 29.66 MB / 350.1 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 81.81 kB / 0.6344 GB, free: 29.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1279, allocations: 80.15 MB / 0.7126 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01984/0.1478, allocations: 18.5 MB / 0.7307 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1591, allocations: 4.823 MB / 0.7354 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003443/0.1625, allocations: 47.94 kB / 0.7355 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002946/0.1655, allocations: 0.8711 MB / 0.7363 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007956/0.1734, allocations: 2.291 MB / 0.7386 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006054/0.1795, allocations: 2.06 MB / 0.7406 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008751/0.1882, allocations: 5.743 MB / 0.7462 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.1905, allocations: 0.8649 MB / 0.747 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00468/0.1952, allocations: 2.396 MB / 0.7494 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004443/0.1996, allocations: 2.662 MB / 0.752 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001706/0.2013, allocations: 436 kB / 0.7524 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.2035, allocations: 0.6013 MB / 0.753 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001642/0.2051, allocations: 1.143 MB / 0.7541 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003612/0.2087, allocations: 2.125 MB / 0.7562 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.2172, allocations: 6.32 MB / 0.7623 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2172, allocations: 0 / 0.7623 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2172, allocations: 0 / 0.7623 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002096/0.2174, allocations: 0 / 0.7623 GB, free: 3.992 MB / 0.5294 GB 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.03149/0.2489, allocations: 9.903 MB / 0.772 GB, free: 9.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2489, allocations: 8.031 kB / 0.772 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02727/0.2762, allocations: 4.043 MB / 0.776 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005768/0.2819, allocations: 2.574 MB / 0.7785 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001059/0.283, allocations: 1.033 MB / 0.7795 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007751/0.2838, allocations: 355.9 kB / 0.7798 GB, free: 1.738 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009436/0.2932, allocations: 4.752 MB / 0.7845 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.159e-05/0.2933, allocations: 3.938 kB / 0.7845 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/0.2936, allocations: 136 kB / 0.7846 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/0.2937, allocations: 84 kB / 0.7847 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008927/0.3026, allocations: 4.253 MB / 0.7888 GB, free: 8.461 MB / 0.5606 GB 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.03236/0.335, allocations: 13.04 MB / 0.8016 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.3478, allocations: 4.357 MB / 0.8058 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006355/0.3542, allocations: 2.501 MB / 0.8083 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.3548, allocations: 58.89 kB / 0.8083 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007935/0.3627, allocations: 3.198 MB / 0.8114 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 7.845e-06/0.3627, allocations: 3.938 kB / 0.8114 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.5507/0.9134, allocations: 67.82 MB / 0.8777 GB, free: 44.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.9134, allocations: 141.8 kB / 0.8778 GB, free: 44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.9168, allocations: 3.215 MB / 0.8809 GB, free: 40.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009068/0.9177, allocations: 89.7 kB / 0.881 GB, free: 40.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009867/0.9187, allocations: 2.01 MB / 0.883 GB, free: 39.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/0.9199, allocations: 1.374 MB / 0.8843 GB, free: 37.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.921, allocations: 0.6587 MB / 0.885 GB, free: 37.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.097e-05/0.9211, allocations: 313.1 kB / 0.8853 GB, free: 36.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004607/0.9257, allocations: 2.623 MB / 0.8878 GB, free: 34.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004815/0.9305, allocations: 3.251 MB / 0.891 GB, free: 30.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06057/0.9911, allocations: 18.96 MB / 0.9095 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/0.9911, allocations: 4.875 kB / 0.9095 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.05092/1.042, allocations: 17.17 MB / 0.9263 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.132e-05/1.042, allocations: 64.03 kB / 0.9264 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/1.042, allocations: 16 kB / 0.9264 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02549/1.068, allocations: 7.146 MB / 0.9334 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003359/1.071, allocations: 0.667 MB / 0.934 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08651/1.157, allocations: 32.3 MB / 0.9655 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00584/1.163, allocations: 0.6206 MB / 0.9662 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009272/1.164, allocations: 160 kB / 0.9663 GB, free: 1.328 MB / 0.6231 GB 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 (396): * Single equations (assignments): 393 * 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.001931/1.166, allocations: 0.6608 MB / 0.9669 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.167, allocations: 477 kB / 0.9674 GB, free: 200 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05543/1.223, allocations: 16.74 MB / 0.9838 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/1.223, allocations: 40 kB / 0.9838 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-05/1.223, allocations: 28 kB / 0.9838 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.293e-05/1.223, allocations: 27.86 kB / 0.9838 GB, free: 15.29 MB / 0.6544 GB 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 postOpt removeSimpleEquations (simulation): time 0.0629/1.286, allocations: 20.02 MB / 1.003 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/1.286, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.288, allocations: 395.5 kB / 1.004 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02627/1.314, allocations: 7.337 MB / 1.011 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008197/1.315, allocations: 67.98 kB / 1.011 GB, free: 3.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08256/1.398, allocations: 30.71 MB / 1.041 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.398, allocations: 0 / 1.041 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06312/1.461, allocations: 20.15 MB / 1.061 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.462, allocations: 0.5069 MB / 1.061 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.463, allocations: 64 kB / 1.061 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004164/1.467, allocations: 375.5 kB / 1.062 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002916/1.47, allocations: 0.8174 MB / 1.062 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003435/1.471, allocations: 95.73 kB / 1.062 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003189/1.474, allocations: 2.097 MB / 1.065 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.474, allocations: 0 / 1.065 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005213/1.479, allocations: 1.796 MB / 1.066 GB, free: 10.72 MB / 0.7325 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.0007169/1.48, allocations: 202 kB / 1.066 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02571/1.506, allocations: 8.83 MB / 1.075 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.506, allocations: 4 kB / 1.075 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0196/1.525, allocations: 5.881 MB / 1.081 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/1.529, allocations: 382.6 kB / 1.081 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.546, allocations: 8.124 MB / 1.089 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/1.548, allocations: 1.927 MB / 1.091 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.55, allocations: 279.4 kB / 1.091 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/1.55, allocations: 0 / 1.091 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of Templates: time 0.3697/1.919, allocations: 91.09 MB / 1.18 GB, free: 211.3 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.662776755634695] Failed to read output from testmodel.py, exit status != 0: 1.9280196488834918 1.937182049 1.717743199 Calling exit ...