Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.00101/0.00101, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.03/1.03, allocations: 177.2 MB / 200.3 MB, free: 5.336 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.001399/0.001399, allocations: 163.7 kB / 257 MB, free: 12.8 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.4514/0.4514, allocations: 80.23 MB / 340.5 MB, free: 9.543 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 383.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.357e-05, allocations: 2.312 kB / 383.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005036/0.005049, allocations: 6.219 MB / 390.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.008003, allocations: 2.051 MB / 392.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.008359, allocations: 8 kB / 392.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.00889, allocations: 245.8 kB / 392.4 MB, free: 6.074 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.01019, allocations: 0.8762 MB / 393.2 MB, free: 5.195 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.01102, allocations: 0.6354 MB / 393.9 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.01219, allocations: 1.588 MB / 395.5 MB, free: 2.961 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.01248, allocations: 224.8 kB / 395.7 MB, free: 2.719 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.01327, allocations: 0.9077 MB / 396.6 MB, free: 1.809 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006355/0.01391, allocations: 0.6698 MB / 397.3 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.01407, allocations: 124 kB / 397.4 MB, free: 1.016 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.01447, allocations: 287.7 kB / 397.7 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.01467, allocations: 330.6 kB / 398 MB, free: 420 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.01499, allocations: 466.4 kB / 398.4 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009845/0.01597, allocations: 1.218 MB / 399.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01598, allocations: 0 / 399.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01598, allocations: 4 kB / 399.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.01599, allocations: 0 / 399.7 MB, free: 14.73 MB / 378.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.004206/0.0202, allocations: 2.638 MB / 402.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.02024, allocations: 15.98 kB / 402.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/0.02301, allocations: 0.9831 MB / 403.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000768/0.02377, allocations: 0.5817 MB / 403.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.02397, allocations: 333.3 kB / 404.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.02407, allocations: 83.94 kB / 404.3 MB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.0248, allocations: 0.6963 MB / 405 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.02482, allocations: 3.984 kB / 405 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.02487, allocations: 31.94 kB / 405 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.02488, allocations: 20 kB / 405 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.02537, allocations: 338.3 kB / 405.4 MB, free: 8.848 MB / 378.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.002822/0.02819, allocations: 1.926 MB / 407.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.03039, allocations: 1.17 MB / 408.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.03066, allocations: 250.3 kB / 408.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.781e-05/0.03073, allocations: 20.98 kB / 408.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005588/0.03129, allocations: 482 kB / 409.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 1.873e-06/0.03129, allocations: 0 / 409.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.01006/0.04135, allocations: 4.566 MB / 413.8 MB, free: 312 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.0414, allocations: 115.8 kB / 413.9 MB, free: 172 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.04196, allocations: 0.8447 MB / 414.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.04202, allocations: 41.7 kB / 414.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.04246, allocations: 371.2 kB / 415.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.04266, allocations: 376.8 kB / 415.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.04295, allocations: 275.4 kB / 415.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.04301, allocations: 313.1 kB / 416.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.04351, allocations: 382.1 kB / 416.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.04408, allocations: 0.5394 MB / 417 MB, free: 12.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.0457, allocations: 1.516 MB / 418.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.04571, allocations: 0 / 418.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004539/0.05025, allocations: 2.666 MB / 421.2 MB, free: 8.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.05029, allocations: 63.39 kB / 421.2 MB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.0503, allocations: 4 kB / 421.2 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00398/0.05428, allocations: 1.483 MB / 422.7 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.05512, allocations: 363.5 kB / 423.1 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004977/0.0601, allocations: 3.369 MB / 426.4 MB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.06079, allocations: 163.2 kB / 426.6 MB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.06086, allocations: 43.97 kB / 426.6 MB, free: 3.082 MB / 394.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.0003247/0.06119, allocations: 215.2 kB / 426.8 MB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.06132, allocations: 103.9 kB / 427 MB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/0.06544, allocations: 2.29 MB / 429.2 MB, free: 436 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.06546, allocations: 12 kB / 429.3 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.06546, allocations: 7.938 kB / 429.3 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.06547, allocations: 7.984 kB / 429.3 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/0.07052, allocations: 2.975 MB / 432.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.07053, allocations: 4 kB / 432.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.07083, allocations: 107.8 kB / 432.4 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0037/0.07453, allocations: 1.585 MB / 433.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.07459, allocations: 19.98 kB / 434 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005745/0.08033, allocations: 4.803 MB / 438.8 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.08034, allocations: 0 / 438.8 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/0.08476, allocations: 2.634 MB / 441.4 MB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.08493, allocations: 126.9 kB / 441.5 MB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/0.08502, allocations: 20 kB / 441.5 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.08542, allocations: 79.92 kB / 441.6 MB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/0.08573, allocations: 188.6 kB / 441.8 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.08577, allocations: 20 kB / 441.8 MB, free: 3.547 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003254/0.0861, allocations: 434.6 kB / 442.2 MB, free: 3.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0861, allocations: 3.938 kB / 442.2 MB, free: 3.109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001263/0.08736, allocations: 463.7 kB / 442.7 MB, free: 2.656 MB / 410.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.0002332/0.08759, allocations: 141.2 kB / 442.8 MB, free: 2.512 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.08975, allocations: 1.569 MB / 444.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.08976, allocations: 15.94 kB / 444.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1654/0.2552, allocations: 1.076 MB / 445.5 MB, free: 65.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009065/0.2561, allocations: 129.6 kB / 445.6 MB, free: 65.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.2592, allocations: 2.002 MB / 447.6 MB, free: 64.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.2594, allocations: 243.9 kB / 447.9 MB, free: 64.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003611/0.2598, allocations: 115.5 kB / 448 MB, free: 64.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.2601, allocations: 190.4 kB / 448.2 MB, free: 64.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.255e-06/0.2601, allocations: 0 / 448.2 MB, free: 64.25 MB / 410.7 MB Notification: Performance of Templates: time 0.02855/0.2887, allocations: 26.9 MB / 475.1 MB, free: 46.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8875727760605514]