Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001342/0.001342, allocations: 80.94 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 0.9648/0.9648, allocations: 177.2 MB / 200.3 MB, free: 5.312 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.00154/0.00154, allocations: 167.2 kB / 257 MB, free: 12.78 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.4267/0.4267, allocations: 83.32 MB / 343.6 MB, free: 6.656 MB / 314.7 MB " [Timeout remaining time 180] 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 388 MB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.279e-05, allocations: 2.312 kB / 388 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005398/0.005421, allocations: 6.231 MB / 394.2 MB, free: 4.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003861/0.009281, allocations: 2.043 MB / 396.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.009927, allocations: 8 kB / 396.3 MB, free: 2.352 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.0106, allocations: 245.9 kB / 396.5 MB, free: 2.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.01233, allocations: 0.8774 MB / 397.4 MB, free: 1.227 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.01341, allocations: 0.6354 MB / 398 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.01511, allocations: 1.584 MB / 399.6 MB, free: 15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.01552, allocations: 222.8 kB / 399.8 MB, free: 14.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.01681, allocations: 0.9232 MB / 400.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008679/0.01768, allocations: 0.6698 MB / 401.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.01795, allocations: 124 kB / 401.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.01852, allocations: 283.8 kB / 401.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.01875, allocations: 330.5 kB / 402.1 MB, free: 12.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.01917, allocations: 466.5 kB / 402.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.02061, allocations: 1.222 MB / 403.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.02061, allocations: 0 / 403.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02061, allocations: 0 / 403.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.615e-05/0.02065, allocations: 4 kB / 403.8 MB, free: 10.75 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.005013/0.02566, allocations: 2.642 MB / 406.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.0257, allocations: 8.031 kB / 406.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.02887, allocations: 0.9832 MB / 407.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009507/0.02982, allocations: 0.5817 MB / 408 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.03004, allocations: 329.3 kB / 408.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.03015, allocations: 84 kB / 408.4 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008122/0.03096, allocations: 0.6885 MB / 409.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.03098, allocations: 7.938 kB / 409.1 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.03104, allocations: 35.94 kB / 409.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.03105, allocations: 20 kB / 409.2 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.03158, allocations: 342.3 kB / 409.5 MB, free: 4.875 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.003111/0.03469, allocations: 1.887 MB / 411.4 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.03702, allocations: 1.173 MB / 412.6 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.03733, allocations: 243.8 kB / 412.8 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.574e-05/0.03741, allocations: 24.98 kB / 412.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/0.03792, allocations: 485.9 kB / 413.3 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.386e-06/0.03793, allocations: 0 / 413.3 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.01044/0.04836, allocations: 4.562 MB / 417.9 MB, free: 12.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.04841, allocations: 111.8 kB / 418 MB, free: 12.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.04911, allocations: 0.8446 MB / 418.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.611e-05/0.04921, allocations: 53.64 kB / 418.9 MB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.04939, allocations: 375.2 kB / 419.3 MB, free: 10.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.04963, allocations: 368.8 kB / 419.6 MB, free: 10.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.04994, allocations: 279.3 kB / 419.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.05015, allocations: 301.1 kB / 420.2 MB, free: 10 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.05069, allocations: 386.1 kB / 420.6 MB, free: 9.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.05125, allocations: 0.5394 MB / 421.1 MB, free: 9.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.05292, allocations: 1.517 MB / 422.6 MB, free: 7.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.05293, allocations: 0 / 422.6 MB, free: 7.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00484/0.05777, allocations: 2.674 MB / 425.3 MB, free: 4.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.05784, allocations: 63.16 kB / 425.3 MB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.05785, allocations: 4 kB / 425.4 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/0.06188, allocations: 1.482 MB / 426.8 MB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.06312, allocations: 359.5 kB / 427.2 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.06827, allocations: 3.376 MB / 430.6 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/0.06925, allocations: 159.1 kB / 430.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.433e-05/0.06935, allocations: 43.97 kB / 430.8 MB, free: 15.15 MB / 410.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.0004403/0.06979, allocations: 223.1 kB / 431 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.06996, allocations: 103.9 kB / 431.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.07431, allocations: 2.29 MB / 433.4 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.07432, allocations: 16 kB / 433.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.07433, allocations: 7.938 kB / 433.4 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.07435, allocations: 7.984 kB / 433.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005649/0.07999, allocations: 2.964 MB / 436.4 MB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.08, allocations: 0 / 436.4 MB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.08045, allocations: 111.9 kB / 436.5 MB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004198/0.08464, allocations: 1.596 MB / 438.1 MB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.0848, allocations: 20 kB / 438.1 MB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006303/0.09111, allocations: 4.783 MB / 442.9 MB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.09111, allocations: 0 / 442.9 MB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004882/0.09599, allocations: 2.634 MB / 445.5 MB, free: 48 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1615/0.2575, allocations: 121.4 kB / 445.6 MB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003678/0.2578, allocations: 17.94 kB / 445.6 MB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.2584, allocations: 74.03 kB / 445.7 MB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005064/0.2589, allocations: 193.7 kB / 445.9 MB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.259, allocations: 19.3 kB / 445.9 MB, free: 60.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004896/0.2595, allocations: 443.5 kB / 446.4 MB, free: 60.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2595, allocations: 0 / 446.4 MB, free: 60.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001131/0.2606, allocations: 467.6 kB / 446.8 MB, free: 60.26 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/0.2609, allocations: 124 kB / 446.9 MB, free: 60.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.2634, allocations: 1.57 MB / 448.5 MB, free: 59.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/0.2635, allocations: 11 kB / 448.5 MB, free: 59.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.2652, allocations: 1.115 MB / 449.6 MB, free: 59.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.2658, allocations: 132.3 kB / 449.8 MB, free: 59.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.2689, allocations: 2.005 MB / 451.8 MB, free: 58.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.2693, allocations: 241.5 kB / 452 MB, free: 58.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003717/0.2697, allocations: 117.3 kB / 452.1 MB, free: 58.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.27, allocations: 193.6 kB / 452.3 MB, free: 58.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/0.27, allocations: 1.312 kB / 452.3 MB, free: 58.29 MB / 410.7 MB Notification: Performance of Templates: time 0.02676/0.2968, allocations: 26.92 MB / 479.2 MB, free: 39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7516034990549088]