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.001396/0.001396, allocations: 88.72 kB / 19.44 MB, free: 356 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.473/1.473, allocations: 177.1 MB / 199.7 MB, free: 5.824 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.001705/0.001705, allocations: 160.2 kB / 256.3 MB, free: 13.19 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.4642/0.4642, allocations: 80.37 MB / 393.1 MB, free: 2.152 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 4.348e-06/4.348e-06, allocations: 7.938 kB / 489.2 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/3.139e-05, allocations: 4.656 kB / 489.2 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.008947/0.008978, allocations: 5.835 MB / 495.1 MB, free: 5.984 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006176/0.01515, allocations: 1.929 MB / 497 MB, free: 4.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.01626, allocations: 15.94 kB / 497 MB, free: 4.047 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.01736, allocations: 245.8 kB / 497.3 MB, free: 3.805 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.02058, allocations: 0.8562 MB / 498.1 MB, free: 2.953 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.02248, allocations: 0.6372 MB / 498.8 MB, free: 2.324 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.02529, allocations: 1.58 MB / 0.4886 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.02584, allocations: 215.4 kB / 0.4888 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.0274, allocations: 0.9044 MB / 0.4897 GB, free: 15.61 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.02844, allocations: 0.6631 MB / 0.4904 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.02866, allocations: 124 kB / 0.4905 GB, free: 14.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006464/0.02931, allocations: 271.8 kB / 0.4907 GB, free: 14.56 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.02968, allocations: 336.1 kB / 0.491 GB, free: 14.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006084/0.03028, allocations: 458.5 kB / 0.4915 GB, free: 13.78 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.03268, allocations: 1.732 MB / 0.4932 GB, free: 12.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.03268, allocations: 0 / 0.4932 GB, free: 12.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.03268, allocations: 0.5312 kB / 0.4932 GB, free: 12.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.03271, allocations: 0 / 0.4932 GB, free: 12.04 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.00996/0.04267, allocations: 2.803 MB / 0.4959 GB, free: 9.215 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.04271, allocations: 8.031 kB / 0.4959 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.04816, allocations: 0.914 MB / 0.4968 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.05021, allocations: 0.8541 MB / 0.4976 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004394/0.05065, allocations: 333.3 kB / 0.498 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.05086, allocations: 95.88 kB / 0.4981 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.05342, allocations: 1.112 MB / 0.4991 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.05343, allocations: 0 / 0.4991 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.05354, allocations: 35.94 kB / 0.4992 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.05357, allocations: 24 kB / 0.4992 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.05601, allocations: 1.009 MB / 0.5002 GB, free: 4.727 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.007529/0.06354, allocations: 2.883 MB / 0.503 GB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008153/0.07169, allocations: 2.022 MB / 0.505 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.07333, allocations: 0.6387 MB / 0.5056 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.07345, allocations: 24.98 kB / 0.5056 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001952/0.0754, allocations: 0.8413 MB / 0.5064 GB, free: 14.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.685e-06/0.0754, allocations: 0 / 0.5064 GB, free: 14.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.03203/0.1074, allocations: 6.993 MB / 0.5133 GB, free: 7.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.1075, allocations: 119.8 kB / 0.5134 GB, free: 7.016 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.1095, allocations: 1.054 MB / 0.5144 GB, free: 5.945 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.1097, allocations: 41.7 kB / 0.5145 GB, free: 5.898 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.1102, allocations: 0.5014 MB / 0.5149 GB, free: 5.391 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/0.1107, allocations: 376.9 kB / 0.5153 GB, free: 5.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005617/0.1113, allocations: 267.5 kB / 0.5156 GB, free: 4.754 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1114, allocations: 309.1 kB / 0.5159 GB, free: 4.449 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.1133, allocations: 0.8037 MB / 0.5166 GB, free: 3.633 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.1154, allocations: 0.9844 MB / 0.5176 GB, free: 2.598 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02776/0.1431, allocations: 5.754 MB / 0.5232 GB, free: 12.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.1432, allocations: 0 / 0.5232 GB, free: 12.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01622/0.1594, allocations: 4.402 MB / 0.5275 GB, free: 8.316 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.769e-05/0.1595, allocations: 63.41 kB / 0.5276 GB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.1595, allocations: 4 kB / 0.5276 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/0.1713, allocations: 2.234 MB / 0.5298 GB, free: 6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.173, allocations: 287.6 kB / 0.53 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/0.1957, allocations: 8.004 MB / 0.5379 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.1977, allocations: 199.1 kB / 0.538 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/0.1981, allocations: 55.97 kB / 0.5381 GB, free: 13.35 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.0008928/0.1989, allocations: 300.4 kB / 0.5384 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005051/0.1995, allocations: 159.2 kB / 0.5385 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.2138, allocations: 3.867 MB / 0.5423 GB, free: 8.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.2138, allocations: 8 kB / 0.5423 GB, free: 8.973 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/0.2139, allocations: 11.94 kB / 0.5423 GB, free: 8.961 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/0.2139, allocations: 7.984 kB / 0.5423 GB, free: 8.953 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.01736/0.2312, allocations: 4.907 MB / 0.5471 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.2312, allocations: 0 / 0.5471 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/0.232, allocations: 103.8 kB / 0.5472 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01231/0.2443, allocations: 2.359 MB / 0.5495 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/0.2446, allocations: 27.98 kB / 0.5496 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02425/0.2688, allocations: 9.223 MB / 0.5586 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.2688, allocations: 4 kB / 0.5586 GB, free: 8.039 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/0.2859, allocations: 4.786 MB / 0.5632 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/0.2866, allocations: 150.9 kB / 0.5634 GB, free: 3.059 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/0.2871, allocations: 16 kB / 0.5634 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.2885, allocations: 107.9 kB / 0.5635 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007992/0.2893, allocations: 208.6 kB / 0.5637 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/0.2895, allocations: 36 kB / 0.5637 GB, free: 2.699 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001542/0.2911, allocations: 0.7149 MB / 0.5644 GB, free: 1.977 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2911, allocations: 0 / 0.5644 GB, free: 1.977 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001995/0.2931, allocations: 475.6 kB / 0.5649 GB, free: 1.512 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.0004248/0.2935, allocations: 147.1 kB / 0.565 GB, free: 1.359 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007347/0.3008, allocations: 2.439 MB / 0.5674 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3008, allocations: 0.75 kB / 0.5674 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005058/0.3059, allocations: 1.547 MB / 0.5689 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.3074, allocations: 142.6 kB / 0.5691 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.313, allocations: 2.219 MB / 0.5712 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008419/0.3138, allocations: 0.5276 MB / 0.5717 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006369/0.3144, allocations: 119.9 kB / 0.5719 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.3149, allocations: 84.47 kB / 0.5719 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/0.3149, allocations: 0 / 0.5719 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.04909/0.364, allocations: 25.78 MB / 0.5971 GB, free: 476 kB / 0.5105 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.636924728984013]