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.0008252/0.0008252, allocations: 92.7 kB / 20.21 MB, free: 4.23 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.8542/0.8542, allocations: 177.1 MB / 200.5 MB, free: 5.785 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.001025/0.001025, allocations: 152.5 kB / 257.1 MB, free: 13.16 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.2557/0.2557, allocations: 80.36 MB / 393.9 MB, free: 2.18 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.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 2.745e-06/2.745e-06, allocations: 3.984 kB / 490 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.824e-05, allocations: 4.844 kB / 490 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00423/0.004248, allocations: 5.828 MB / 495.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.006341, allocations: 1.936 MB / 497.8 MB, free: 4.098 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.006614, allocations: 8.969 kB / 497.8 MB, free: 4.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.007162, allocations: 245.8 kB / 498 MB, free: 3.848 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.008348, allocations: 0.8596 MB / 498.9 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.009084, allocations: 0.6381 MB / 499.5 MB, free: 2.363 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.01009, allocations: 1.584 MB / 0.4893 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.01037, allocations: 214.8 kB / 0.4896 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006756/0.01104, allocations: 0.8976 MB / 0.4904 GB, free: 15.65 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.01159, allocations: 0.6659 MB / 0.4911 GB, free: 14.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.01171, allocations: 120 kB / 0.4912 GB, free: 14.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.01202, allocations: 285.3 kB / 0.4915 GB, free: 14.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.01222, allocations: 326.6 kB / 0.4918 GB, free: 14.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.01253, allocations: 462.4 kB / 0.4922 GB, free: 13.81 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.01373, allocations: 1.728 MB / 0.4939 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01373, allocations: 0.9062 kB / 0.4939 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01373, allocations: 4 kB / 0.4939 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.01374, allocations: 2.531 kB / 0.4939 GB, free: 12.07 MB / 426.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.004333/0.01807, allocations: 2.793 MB / 0.4966 GB, free: 9.254 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.01811, allocations: 12.69 kB / 0.4967 GB, free: 9.242 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/0.02062, allocations: 0.9127 MB / 0.4975 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/0.02152, allocations: 0.8541 MB / 0.4984 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.02173, allocations: 333.3 kB / 0.4987 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.02185, allocations: 83.94 kB / 0.4988 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.02312, allocations: 1.119 MB / 0.4999 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.02313, allocations: 4 kB / 0.4999 GB, free: 5.832 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.02319, allocations: 39.92 kB / 0.4999 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.0232, allocations: 16 kB / 0.4999 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.02443, allocations: 1.005 MB / 0.5009 GB, free: 4.766 MB / 426.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.003602/0.02803, allocations: 2.898 MB / 0.5037 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003685/0.03171, allocations: 2.015 MB / 0.5057 GB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007651/0.03248, allocations: 0.6367 MB / 0.5063 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.57e-05/0.03255, allocations: 24.98 kB / 0.5063 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009507/0.0335, allocations: 0.8428 MB / 0.5072 GB, free: 14.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.875e-06/0.03351, allocations: 0 / 0.5072 GB, free: 14.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.01392/0.04742, allocations: 6.99 MB / 0.514 GB, free: 7.199 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.04747, allocations: 119.8 kB / 0.5141 GB, free: 7.055 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/0.04835, allocations: 1.054 MB / 0.5151 GB, free: 5.984 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.04841, allocations: 49.73 kB / 0.5152 GB, free: 5.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.04867, allocations: 0.5014 MB / 0.5157 GB, free: 5.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.04888, allocations: 368.9 kB / 0.516 GB, free: 5.059 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.04917, allocations: 271.5 kB / 0.5163 GB, free: 4.789 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.04924, allocations: 305.1 kB / 0.5166 GB, free: 4.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009524/0.0502, allocations: 0.8076 MB / 0.5174 GB, free: 3.668 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.05122, allocations: 0.9806 MB / 0.5183 GB, free: 2.637 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/0.06276, allocations: 5.758 MB / 0.5239 GB, free: 12.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.06276, allocations: 0 / 0.5239 GB, free: 12.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006867/0.06963, allocations: 4.402 MB / 0.5282 GB, free: 8.352 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.06967, allocations: 67.34 kB / 0.5283 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.06968, allocations: 4 kB / 0.5283 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005275/0.07496, allocations: 2.226 MB / 0.5305 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.07566, allocations: 295.6 kB / 0.5308 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.08626, allocations: 8.004 MB / 0.5386 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008241/0.08709, allocations: 195.1 kB / 0.5388 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/0.08717, allocations: 55.97 kB / 0.5388 GB, free: 13.39 MB / 474.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 (159): * Single equations (assignments): 156 * 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.0004098/0.08758, allocations: 296.4 kB / 0.5391 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.08775, allocations: 159.2 kB / 0.5393 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00645/0.0942, allocations: 3.87 MB / 0.543 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.09421, allocations: 15.98 kB / 0.5431 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.09422, allocations: 8 kB / 0.5431 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.09422, allocations: 7.922 kB / 0.5431 GB, free: 8.988 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.007514/0.1017, allocations: 4.896 MB / 0.5479 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1017, allocations: 0 / 0.5479 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.102, allocations: 107.8 kB / 0.548 GB, free: 3.926 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005474/0.1075, allocations: 2.359 MB / 0.5503 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/0.1076, allocations: 20 kB / 0.5503 GB, free: 1.539 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.1187, allocations: 9.243 MB / 0.5593 GB, free: 8.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1187, allocations: 0 / 0.5593 GB, free: 8.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/0.1262, allocations: 4.793 MB / 0.564 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.1264, allocations: 147 kB / 0.5641 GB, free: 3.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/0.1265, allocations: 20 kB / 0.5641 GB, free: 3.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.1271, allocations: 103.9 kB / 0.5642 GB, free: 2.965 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/0.1275, allocations: 208.6 kB / 0.5644 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.1275, allocations: 28 kB / 0.5645 GB, free: 2.734 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007182/0.1282, allocations: 0.715 MB / 0.5652 GB, free: 2.012 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1282, allocations: 3.938 kB / 0.5652 GB, free: 2.008 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009129/0.1291, allocations: 475.6 kB / 0.5656 GB, free: 1.543 MB / 490.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.0002278/0.1294, allocations: 139.1 kB / 0.5658 GB, free: 1.398 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003448/0.1328, allocations: 2.432 MB / 0.5681 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1328, allocations: 4.062 kB / 0.5681 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.1349, allocations: 1.551 MB / 0.5697 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.1355, allocations: 132.4 kB / 0.5698 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.1383, allocations: 2.22 MB / 0.5719 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.1386, allocations: 0.5237 MB / 0.5725 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002684/0.1389, allocations: 123.9 kB / 0.5726 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.1391, allocations: 88.47 kB / 0.5727 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.1391, allocations: 0 / 0.5727 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.0241/0.1632, allocations: 25.77 MB / 0.5978 GB, free: 0.5273 MB / 0.5105 GB " [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=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9573677126318216]