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.001033/0.001033, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.975/0.975, allocations: 177.1 MB / 200.5 MB, free: 5.828 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.001199/0.001199, allocations: 160.6 kB / 257 MB, free: 13.2 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.3253/0.3253, allocations: 80.35 MB / 393.8 MB, free: 3.23 MB / 362.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 1.893e-06/1.893e-06, allocations: 0 / 490 MB, free: 63.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.681e-05, allocations: 5.922 kB / 490 MB, free: 63.4 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.004777/0.004804, allocations: 6.291 MB / 496.3 MB, free: 57.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.008408, allocations: 1.963 MB / 498.2 MB, free: 55.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008198/0.009228, allocations: 12 kB / 498.2 MB, free: 55.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.009924, allocations: 243 kB / 498.5 MB, free: 54.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.01175, allocations: 0.8616 MB / 499.3 MB, free: 54.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.01276, allocations: 0.6378 MB / 500 MB, free: 53.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.0141, allocations: 1.588 MB / 0.4898 GB, free: 51.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.01446, allocations: 214.7 kB / 0.49 GB, free: 51.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009634/0.01542, allocations: 0.9038 MB / 0.4909 GB, free: 50.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.01599, allocations: 0.6707 MB / 0.4915 GB, free: 50.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.01612, allocations: 120 kB / 0.4917 GB, free: 49.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.01653, allocations: 268.8 kB / 0.4919 GB, free: 49.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.0167, allocations: 338.5 kB / 0.4922 GB, free: 49.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.01699, allocations: 458.5 kB / 0.4927 GB, free: 48.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.01806, allocations: 1.23 MB / 0.4939 GB, free: 47.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01806, allocations: 0 / 0.4939 GB, free: 47.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01806, allocations: 1.312 kB / 0.4939 GB, free: 47.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.01808, allocations: 4 kB / 0.4939 GB, free: 47.61 MB / 410.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.004609/0.02269, allocations: 2.906 MB / 0.4967 GB, free: 44.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.02273, allocations: 13.03 kB / 0.4967 GB, free: 44.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/0.02547, allocations: 0.9264 MB / 0.4976 GB, free: 43.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.02651, allocations: 0.803 MB / 0.4984 GB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.0267, allocations: 326 kB / 0.4987 GB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.02682, allocations: 92.84 kB / 0.4988 GB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009396/0.02776, allocations: 0.7508 MB / 0.4996 GB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.02777, allocations: 1.062 kB / 0.4996 GB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.02784, allocations: 31.94 kB / 0.4996 GB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.02785, allocations: 20 kB / 0.4996 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.0286, allocations: 0.49 MB / 0.5001 GB, free: 41.12 MB / 410.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.003516/0.03212, allocations: 2.731 MB / 0.5028 GB, free: 38.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.03458, allocations: 1.254 MB / 0.504 GB, free: 37.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.03501, allocations: 351.5 kB / 0.5043 GB, free: 36.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.289e-05/0.03508, allocations: 18.22 kB / 0.5043 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/0.03568, allocations: 0.5221 MB / 0.5048 GB, free: 36.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.886e-06/0.03568, allocations: 0.5 kB / 0.5048 GB, free: 36.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.01149/0.04717, allocations: 5 MB / 0.5097 GB, free: 31.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.04722, allocations: 115.8 kB / 0.5098 GB, free: 30.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008965/0.04811, allocations: 0.9794 MB / 0.5108 GB, free: 30 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.04828, allocations: 45.73 kB / 0.5108 GB, free: 29.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.04853, allocations: 0.5549 MB / 0.5114 GB, free: 29.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.04884, allocations: 372.8 kB / 0.5117 GB, free: 29.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.04915, allocations: 289.1 kB / 0.512 GB, free: 28.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.04924, allocations: 484.7 kB / 0.5125 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.04982, allocations: 431.2 kB / 0.5129 GB, free: 27.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.05045, allocations: 0.6416 MB / 0.5135 GB, free: 27.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.05215, allocations: 1.637 MB / 0.5151 GB, free: 25.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.05216, allocations: 4 kB / 0.5151 GB, free: 25.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005384/0.05755, allocations: 3.027 MB / 0.5181 GB, free: 22.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.0576, allocations: 63.39 kB / 0.5181 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.05761, allocations: 8 kB / 0.5181 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004278/0.06189, allocations: 1.521 MB / 0.5196 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.0628, allocations: 291.6 kB / 0.5199 GB, free: 20.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006227/0.06903, allocations: 4.366 MB / 0.5242 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.07026, allocations: 167.1 kB / 0.5243 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/0.07034, allocations: 59.97 kB / 0.5244 GB, free: 15.71 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.0004114/0.07075, allocations: 257.9 kB / 0.5246 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.07092, allocations: 159.2 kB / 0.5248 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004745/0.07566, allocations: 2.592 MB / 0.5273 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.07568, allocations: 12 kB / 0.5273 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.07569, allocations: 8 kB / 0.5273 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.0757, allocations: 7.969 kB / 0.5273 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005811/0.08151, allocations: 3.648 MB / 0.5309 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.08152, allocations: 3.984 kB / 0.5309 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.08182, allocations: 99.84 kB / 0.531 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004201/0.08602, allocations: 1.638 MB / 0.5326 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-05/0.08612, allocations: 19.98 kB / 0.5326 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006756/0.09288, allocations: 6.416 MB / 0.5389 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.09288, allocations: 4 kB / 0.5389 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006305/0.09918, allocations: 3.03 MB / 0.5418 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.09962, allocations: 146.9 kB / 0.542 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.09977, allocations: 16 kB / 0.542 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.1003, allocations: 79.92 kB / 0.5421 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000525/0.1008, allocations: 196.6 kB / 0.5423 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.1009, allocations: 27.98 kB / 0.5423 GB, free: 12.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006322/0.1015, allocations: 0.6172 MB / 0.5429 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1015, allocations: 0 / 0.5429 GB, free: 12.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001217/0.1027, allocations: 471.6 kB / 0.5433 GB, free: 11.84 MB / 426.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.0003185/0.103, allocations: 146 kB / 0.5435 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003351/0.1064, allocations: 1.79 MB / 0.5452 GB, free: 9.828 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1064, allocations: 0 / 0.5452 GB, free: 9.828 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.1084, allocations: 1.309 MB / 0.5465 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.1092, allocations: 132.3 kB / 0.5466 GB, free: 8.332 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.1125, allocations: 2.063 MB / 0.5486 GB, free: 6.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1127, allocations: 245.4 kB / 0.5489 GB, free: 5.965 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003595/0.1131, allocations: 120 kB / 0.549 GB, free: 5.844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.1133, allocations: 84.47 kB / 0.5491 GB, free: 5.762 MB / 426.7 MB Notification: Performance of SimCode: time 4.288e-06/0.1133, allocations: 0 / 0.5491 GB, free: 5.762 MB / 426.7 MB Notification: Performance of Templates: time 0.03687/0.1502, allocations: 26.84 MB / 0.5753 GB, free: 11.06 MB / 458.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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1697354761417955]