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.001456/0.001456, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.555/1.555, allocations: 230.6 MB / 250.5 MB, free: 9.211 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.002005/0.002005, allocations: 217.7 kB / 306.7 MB, free: 4.273 MB / 238.1 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.6032/0.6032, allocations: 107.3 MB / 470 MB, free: 6.215 MB / 334.1 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: 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.002626/0.002626, allocations: 91.86 kB / 0.6295 GB, free: 7.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.491, allocations: 80.13 MB / 0.7077 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02684/0.5179, allocations: 21.94 MB / 0.7291 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.537, allocations: 4.916 MB / 0.7339 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007672/0.5447, allocations: 42.56 kB / 0.734 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005686/0.5504, allocations: 0.8844 MB / 0.7348 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.5645, allocations: 2.305 MB / 0.7371 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008778/0.5733, allocations: 2.056 MB / 0.7391 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0191/0.5923, allocations: 5.728 MB / 0.7447 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004168/0.5965, allocations: 0.917 MB / 0.7456 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006358/0.6029, allocations: 2.381 MB / 0.7479 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006403/0.6093, allocations: 2.953 MB / 0.7508 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002428/0.6117, allocations: 436.9 kB / 0.7512 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.6154, allocations: 0.6045 MB / 0.7518 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00263/0.618, allocations: 1.146 MB / 0.7529 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006449/0.6244, allocations: 2.613 MB / 0.7555 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.637, allocations: 6.265 MB / 0.7616 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.637, allocations: 0 / 0.7616 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.885e-06/0.637, allocations: 1.094 kB / 0.7616 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003407/0.6373, allocations: 0 / 0.7616 GB, free: 14.88 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.0385/0.6758, allocations: 9.344 MB / 0.7707 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6759, allocations: 11.97 kB / 0.7707 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02898/0.7049, allocations: 4.047 MB / 0.7747 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007319/0.7122, allocations: 2.689 MB / 0.7773 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001286/0.7135, allocations: 0.9535 MB / 0.7782 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/0.7149, allocations: 348 kB / 0.7786 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.7274, allocations: 4.731 MB / 0.7832 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.898e-05/0.7275, allocations: 7.938 kB / 0.7832 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004607/0.728, allocations: 140 kB / 0.7833 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/0.728, allocations: 84 kB / 0.7834 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.7392, allocations: 4.244 MB / 0.7876 GB, free: 6.375 MB / 0.545 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.04561/0.7848, allocations: 18.27 MB / 0.8054 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.7994, allocations: 4.644 MB / 0.8099 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006991/0.8064, allocations: 2.474 MB / 0.8124 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008018/0.8072, allocations: 66.84 kB / 0.8124 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008887/0.816, allocations: 3.169 MB / 0.8155 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=383): time 1.068e-05/0.8161, allocations: 4 kB / 0.8155 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=383): time 0.3356/1.152, allocations: 67.93 MB / 0.8819 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/1.152, allocations: 145.8 kB / 0.882 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007191/1.159, allocations: 3.222 MB / 0.8851 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.00122/1.16, allocations: 85.7 kB / 0.8852 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002211/1.162, allocations: 2.005 MB / 0.8872 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002759/1.165, allocations: 1.379 MB / 0.8885 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003839/1.169, allocations: 0.6783 MB / 0.8892 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.169, allocations: 301.1 kB / 0.8895 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007567/1.177, allocations: 2.589 MB / 0.892 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008496/1.185, allocations: 3.209 MB / 0.8951 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09859/1.284, allocations: 18.99 MB / 0.9137 GB, free: 3.117 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.595e-05/1.284, allocations: 8 kB / 0.9137 GB, free: 3.109 MB / 0.67 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.08425/1.368, allocations: 17.15 MB / 0.9304 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.368, allocations: 63.41 kB / 0.9305 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.743e-05/1.368, allocations: 12 kB / 0.9305 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02988/1.398, allocations: 7.154 MB / 0.9375 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004254/1.402, allocations: 0.6709 MB / 0.9382 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1117/1.514, allocations: 33.33 MB / 0.9707 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007499/1.522, allocations: 0.6299 MB / 0.9713 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.523, allocations: 152 kB / 0.9715 GB, free: 7.688 MB / 0.7325 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 (403): * Single equations (assignments): 400 * 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.003801/1.527, allocations: 0.664 MB / 0.9721 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002469/1.529, allocations: 480.9 kB / 0.9726 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4336/1.963, allocations: 16.72 MB / 0.9889 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-05/1.963, allocations: 36.72 kB / 0.9889 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.124e-05/1.963, allocations: 33.28 kB / 0.989 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/1.963, allocations: 18.42 kB / 0.989 GB, free: 231.9 MB / 0.7325 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.06616/2.029, allocations: 21.71 MB / 1.01 GB, free: 227.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.968e-05/2.029, allocations: 3.938 kB / 1.01 GB, free: 227.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/2.032, allocations: 390.5 kB / 1.011 GB, free: 227.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02525/2.057, allocations: 7.337 MB / 1.018 GB, free: 226 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001137/2.058, allocations: 67.39 kB / 1.018 GB, free: 225.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0774/2.135, allocations: 31.86 MB / 1.049 GB, free: 199.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.135, allocations: 4 kB / 1.049 GB, free: 199.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06061/2.196, allocations: 20.11 MB / 1.069 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/2.198, allocations: 0.5787 MB / 1.069 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/2.199, allocations: 71.94 kB / 1.069 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004943/2.204, allocations: 371.6 kB / 1.07 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003073/2.207, allocations: 0.7882 MB / 1.07 GB, free: 177.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004248/2.208, allocations: 105 kB / 1.07 GB, free: 177.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002775/2.21, allocations: 2.101 MB / 1.072 GB, free: 175.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/2.21, allocations: 0 / 1.072 GB, free: 175.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006965/2.217, allocations: 1.806 MB / 1.074 GB, free: 173.4 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.0008322/2.218, allocations: 201.4 kB / 1.074 GB, free: 173.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02539/2.244, allocations: 8.763 MB / 1.083 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/2.244, allocations: 0 / 1.083 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01971/2.263, allocations: 5.851 MB / 1.089 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/2.268, allocations: 386 kB / 1.089 GB, free: 158.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/2.284, allocations: 8.075 MB / 1.097 GB, free: 150 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/2.286, allocations: 2.454 MB / 1.099 GB, free: 147.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/2.287, allocations: 275.4 kB / 1.1 GB, free: 147.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/2.287, allocations: 0 / 1.1 GB, free: 147.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.1004/2.388, allocations: 89.23 MB / 1.187 GB, free: 57.88 MB / 0.7325 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.63742007385008] Failed to read output from testmodel.py, exit status != 0: 2.398012707941234 2.407381135 1.76763074 Calling exit ...