Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.00134/0.00134, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.46/1.46, allocations: 177.1 MB / 199.7 MB, free: 5.77 MB / 186.7 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.001646/0.001646, allocations: 152.6 kB / 256.3 MB, free: 13.14 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.4656/0.4656, allocations: 80.37 MB / 393.1 MB, free: 2.133 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_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 489.2 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.958e-05, allocations: 6.25 kB / 489.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007885/0.007915, allocations: 5.528 MB / 494.8 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004137/0.01205, allocations: 1.819 MB / 496.6 MB, free: 4.473 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005546/0.01261, allocations: 13.09 kB / 496.6 MB, free: 4.461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.01315, allocations: 210.1 kB / 496.8 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.01529, allocations: 0.8235 MB / 497.6 MB, free: 3.434 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.0167, allocations: 0.5687 MB / 498.2 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001966/0.01867, allocations: 1.416 MB / 499.6 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.01905, allocations: 184.3 kB / 499.8 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.02022, allocations: 0.8224 MB / 0.4889 GB, free: 448 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009112/0.02113, allocations: 0.6206 MB / 0.4895 GB, free: 15.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.02131, allocations: 104 kB / 0.4896 GB, free: 15.71 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.02183, allocations: 243.8 kB / 0.4898 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.02214, allocations: 298.7 kB / 0.4901 GB, free: 15.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.02262, allocations: 419.1 kB / 0.4905 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.02455, allocations: 1.55 MB / 0.492 GB, free: 13.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.02455, allocations: 0 / 0.492 GB, free: 13.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02455, allocations: 0 / 0.492 GB, free: 13.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.02457, allocations: 1.938 kB / 0.492 GB, free: 13.22 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008989/0.03356, allocations: 2.458 MB / 0.4944 GB, free: 10.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.0336, allocations: 12.56 kB / 0.4944 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.03875, allocations: 0.8836 MB / 0.4953 GB, free: 9.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.04042, allocations: 0.749 MB / 0.496 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.04089, allocations: 371 kB / 0.4964 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.0411, allocations: 79.95 kB / 0.4965 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.04394, allocations: 1.169 MB / 0.4976 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.04396, allocations: 0 / 0.4976 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.04407, allocations: 32 kB / 0.4976 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.0441, allocations: 23.94 kB / 0.4977 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.04639, allocations: 0.9381 MB / 0.4986 GB, free: 6.387 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.006954/0.05335, allocations: 2.664 MB / 0.5012 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008156/0.0615, allocations: 1.923 MB / 0.5031 GB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.06308, allocations: 0.5931 MB / 0.5036 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.0632, allocations: 20.66 kB / 0.5037 GB, free: 1.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/0.06326, allocations: 51.08 kB / 0.5037 GB, free: 1.031 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.406e-06/0.06326, allocations: 0 / 0.5037 GB, free: 1.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.03069/0.09396, allocations: 6.724 MB / 0.5103 GB, free: 10.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.0941, allocations: 109.6 kB / 0.5104 GB, free: 10.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.09576, allocations: 0.9366 MB / 0.5113 GB, free: 9.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/0.09596, allocations: 41.7 kB / 0.5113 GB, free: 9.156 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/0.09644, allocations: 465.3 kB / 0.5118 GB, free: 8.699 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/0.09693, allocations: 325.2 kB / 0.5121 GB, free: 8.379 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005819/0.09751, allocations: 238.8 kB / 0.5123 GB, free: 8.141 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.09773, allocations: 353.9 kB / 0.5127 GB, free: 7.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.09941, allocations: 0.6826 MB / 0.5133 GB, free: 7.105 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.1013, allocations: 0.8639 MB / 0.5142 GB, free: 6.191 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02526/0.1265, allocations: 5.192 MB / 0.5192 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.1265, allocations: 0 / 0.5192 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.01491/0.1414, allocations: 4.102 MB / 0.5232 GB, free: 12.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.1415, allocations: 4 kB / 0.5232 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.1415, allocations: 4 kB / 0.5233 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/0.1528, allocations: 2.249 MB / 0.5254 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.1541, allocations: 235.6 kB / 0.5257 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/0.1763, allocations: 7.992 MB / 0.5335 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.1779, allocations: 171.3 kB / 0.5336 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.1781, allocations: 43.98 kB / 0.5337 GB, free: 2.016 MB / 458.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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * 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 {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006997/0.1788, allocations: 254.7 kB / 0.5339 GB, free: 1.758 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/0.1801, allocations: 365.4 kB / 0.5343 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.1935, allocations: 3.561 MB / 0.5378 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.1935, allocations: 12 kB / 0.5378 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.1936, allocations: 8 kB / 0.5378 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/0.1936, allocations: 7.922 kB / 0.5378 GB, free: 13.79 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.01613/0.2097, allocations: 4.566 MB / 0.5422 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.2097, allocations: 0 / 0.5422 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/0.2104, allocations: 111.8 kB / 0.5423 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01181/0.2222, allocations: 2.335 MB / 0.5446 GB, free: 6.711 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.2224, allocations: 27.92 kB / 0.5446 GB, free: 6.684 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/0.2457, allocations: 10.36 MB / 0.5548 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2457, allocations: 0 / 0.5548 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.262, allocations: 4.614 MB / 0.5593 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.2624, allocations: 131.1 kB / 0.5594 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.2627, allocations: 20.25 kB / 0.5594 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.2639, allocations: 87.91 kB / 0.5595 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006352/0.2645, allocations: 184.7 kB / 0.5597 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.2646, allocations: 23.94 kB / 0.5597 GB, free: 6.965 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001109/0.2657, allocations: 0.6307 MB / 0.5603 GB, free: 6.324 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2657, allocations: 0 / 0.5603 GB, free: 6.324 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001579/0.2673, allocations: 435.7 kB / 0.5607 GB, free: 5.898 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003356/0.2676, allocations: 131.1 kB / 0.5609 GB, free: 5.762 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006507/0.2741, allocations: 2.141 MB / 0.5629 GB, free: 3.609 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2741, allocations: 0 / 0.5629 GB, free: 3.609 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004326/0.2785, allocations: 1.257 MB / 0.5642 GB, free: 2.332 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.2802, allocations: 380.9 kB / 0.5645 GB, free: 1.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.2848, allocations: 2.022 MB / 0.5665 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.2855, allocations: 489.8 kB / 0.567 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004091/0.2859, allocations: 99.05 kB / 0.5671 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.2862, allocations: 80.47 kB / 0.5672 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of SimCode: time 8.31e-07/0.2862, allocations: 0 / 0.5672 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.04309/0.3293, allocations: 23.5 MB / 0.5901 GB, free: 7.82 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.896080665057525]