Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001028/0.001028, 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.9724/0.9724, allocations: 177.1 MB / 200.5 MB, free: 5.84 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.001165/0.001165, allocations: 167.3 kB / 257 MB, free: 13.21 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2737/0.2737, allocations: 80.25 MB / 393.7 MB, free: 2.254 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 489.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.835e-05, allocations: 4.75 kB / 489.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004724/0.004742, allocations: 5.944 MB / 495.8 MB, free: 5.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.007684, allocations: 1.861 MB / 497.6 MB, free: 3.918 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.008034, allocations: 12 kB / 497.7 MB, free: 3.906 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.008399, allocations: 218.9 kB / 497.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.009585, allocations: 0.8095 MB / 498.7 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.0103, allocations: 0.5861 MB / 499.3 MB, free: 2.312 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009271/0.01122, allocations: 1.424 MB / 0.489 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.01147, allocations: 184.4 kB / 0.4891 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006336/0.01211, allocations: 0.8181 MB / 0.4899 GB, free: 15.87 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004826/0.01259, allocations: 0.6119 MB / 0.4905 GB, free: 15.26 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01269, allocations: 105.7 kB / 0.4906 GB, free: 15.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.01298, allocations: 255.8 kB / 0.4909 GB, free: 14.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.01313, allocations: 290.7 kB / 0.4912 GB, free: 14.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.01338, allocations: 418.5 kB / 0.4916 GB, free: 14.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.01446, allocations: 1.137 MB / 0.4927 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01446, allocations: 0 / 0.4927 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01446, allocations: 2.562 kB / 0.4927 GB, free: 13.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.01447, allocations: 0 / 0.4927 GB, free: 13.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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004311/0.01879, allocations: 2.585 MB / 0.4952 GB, free: 10.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.01882, allocations: 8.844 kB / 0.4952 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.02181, allocations: 0.8974 MB / 0.4961 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/0.02257, allocations: 0.7282 MB / 0.4968 GB, free: 8.801 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.02276, allocations: 359 kB / 0.4971 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.02286, allocations: 79.94 kB / 0.4972 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.02398, allocations: 0.8205 MB / 0.498 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.02399, allocations: 0 / 0.498 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.02406, allocations: 28 kB / 0.498 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.02407, allocations: 19.94 kB / 0.4981 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.02478, allocations: 459.4 kB / 0.4985 GB, free: 6.961 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.003442/0.02823, allocations: 2.609 MB / 0.501 GB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.03071, allocations: 1.176 MB / 0.5022 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.03111, allocations: 307.8 kB / 0.5025 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.037e-05/0.03118, allocations: 20.66 kB / 0.5025 GB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.03121, allocations: 53.97 kB / 0.5025 GB, free: 2.684 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 2.084e-06/0.03121, allocations: 0 / 0.5025 GB, free: 2.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01161/0.04283, allocations: 4.794 MB / 0.5072 GB, free: 13.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.04289, allocations: 101.6 kB / 0.5073 GB, free: 13.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006683/0.04355, allocations: 0.9001 MB / 0.5082 GB, free: 12.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.04361, allocations: 41.7 kB / 0.5082 GB, free: 12.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.04386, allocations: 0.5193 MB / 0.5088 GB, free: 12.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.04404, allocations: 329.3 kB / 0.5091 GB, free: 11.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.0443, allocations: 248.5 kB / 0.5093 GB, free: 11.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.04442, allocations: 0.5277 MB / 0.5098 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.04489, allocations: 343.1 kB / 0.5101 GB, free: 10.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.04547, allocations: 0.5713 MB / 0.5107 GB, free: 10.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.04699, allocations: 1.405 MB / 0.5121 GB, free: 8.688 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.047, allocations: 0 / 0.5121 GB, free: 8.688 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00525/0.05225, allocations: 2.813 MB / 0.5148 GB, free: 5.859 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.05227, allocations: 4 kB / 0.5148 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.05228, allocations: 7.984 kB / 0.5148 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004109/0.05639, allocations: 1.546 MB / 0.5163 GB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.05693, allocations: 239.6 kB / 0.5166 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006553/0.06349, allocations: 4.306 MB / 0.5208 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.06409, allocations: 139.2 kB / 0.5209 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/0.06417, allocations: 59.97 kB / 0.521 GB, free: 15.43 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 (139): * Single equations (assignments): 138 * 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 {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003244/0.06449, allocations: 233.1 kB / 0.5212 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/0.06499, allocations: 328.2 kB / 0.5215 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.06955, allocations: 2.365 MB / 0.5238 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.06956, allocations: 12 kB / 0.5238 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.06956, allocations: 4 kB / 0.5238 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.06957, allocations: 11.92 kB / 0.5238 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/0.07513, allocations: 3.33 MB / 0.5271 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.07514, allocations: 0 / 0.5271 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.07542, allocations: 111.8 kB / 0.5272 GB, free: 8.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004372/0.0798, allocations: 1.607 MB / 0.5288 GB, free: 7.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.07984, allocations: 23.98 kB / 0.5288 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007232/0.08708, allocations: 8.514 MB / 0.5371 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.08708, allocations: 0 / 0.5371 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/0.09227, allocations: 2.921 MB / 0.54 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.09242, allocations: 139 kB / 0.5401 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.09252, allocations: 19.98 kB / 0.5401 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.09291, allocations: 63.98 kB / 0.5402 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.09321, allocations: 172.7 kB / 0.5403 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.09325, allocations: 31.92 kB / 0.5404 GB, free: 11.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000451/0.0937, allocations: 0.5682 MB / 0.5409 GB, free: 10.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0937, allocations: 0 / 0.5409 GB, free: 10.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008851/0.09459, allocations: 439.6 kB / 0.5413 GB, free: 10.11 MB / 474.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.000235/0.09482, allocations: 135.1 kB / 0.5415 GB, free: 9.961 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.09745, allocations: 1.554 MB / 0.543 GB, free: 8.383 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.09745, allocations: 4.125 kB / 0.543 GB, free: 8.379 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.09892, allocations: 0.9842 MB / 0.544 GB, free: 7.367 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.09964, allocations: 385.9 kB / 0.5443 GB, free: 6.973 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.1022, allocations: 1.886 MB / 0.5462 GB, free: 5.051 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.1023, allocations: 217.1 kB / 0.5464 GB, free: 4.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.1025, allocations: 99.12 kB / 0.5465 GB, free: 4.719 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.1027, allocations: 80.47 kB / 0.5465 GB, free: 4.641 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1027, allocations: 0 / 0.5465 GB, free: 4.641 MB / 474.7 MB Notification: Performance of Templates: time 0.02471/0.1274, allocations: 24.51 MB / 0.5705 GB, free: 12.24 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.130744195077568]