Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.0009455/0.0009455, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.9642/0.9642, allocations: 177.1 MB / 200.3 MB, free: 5.352 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.001697/0.001697, allocations: 159.7 kB / 256.9 MB, free: 12.8 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.2745/0.2745, allocations: 80.24 MB / 393.7 MB, free: 3.027 MB / 362.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 490.2 MB, free: 62.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.428e-05, allocations: 3.188 kB / 490.2 MB, free: 62.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004003/0.004017, allocations: 6.156 MB / 496.4 MB, free: 56.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.006457, allocations: 1.961 MB / 498.4 MB, free: 54.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.006859, allocations: 12 kB / 498.4 MB, free: 54.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.007341, allocations: 245.8 kB / 498.6 MB, free: 54.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.00847, allocations: 0.8777 MB / 499.5 MB, free: 53.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.009198, allocations: 0.634 MB / 0.4884 GB, free: 53.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008497/0.01005, allocations: 1.586 MB / 0.4899 GB, free: 51.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.01029, allocations: 214.7 kB / 0.4902 GB, free: 51.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006185/0.01091, allocations: 0.9077 MB / 0.491 GB, free: 50.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004358/0.01134, allocations: 0.6776 MB / 0.4917 GB, free: 49.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.01145, allocations: 124 kB / 0.4918 GB, free: 49.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.01174, allocations: 272.5 kB / 0.4921 GB, free: 49.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.01188, allocations: 334.5 kB / 0.4924 GB, free: 48.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.0121, allocations: 455.3 kB / 0.4928 GB, free: 48.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.01281, allocations: 1.229 MB / 0.494 GB, free: 47.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01282, allocations: 5.188 kB / 0.494 GB, free: 47.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01282, allocations: 0 / 0.494 GB, free: 47.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.01282, allocations: 0 / 0.494 GB, free: 47.21 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.003728/0.01655, allocations: 2.93 MB / 0.4969 GB, free: 44.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.01659, allocations: 9.906 kB / 0.4969 GB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.019, allocations: 0.9327 MB / 0.4978 GB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/0.01967, allocations: 0.7611 MB / 0.4986 GB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.01981, allocations: 333.3 kB / 0.4989 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.01992, allocations: 89.2 kB / 0.499 GB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.02057, allocations: 0.6804 MB / 0.4996 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.02059, allocations: 0 / 0.4996 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/0.02064, allocations: 36.66 kB / 0.4997 GB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.02065, allocations: 20 kB / 0.4997 GB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.02109, allocations: 396.2 kB / 0.5001 GB, free: 40.91 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.003062/0.02415, allocations: 2.601 MB / 0.5026 GB, free: 38.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.02633, allocations: 1.183 MB / 0.5038 GB, free: 37.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.02659, allocations: 290.8 kB / 0.504 GB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.976e-05/0.02666, allocations: 21.78 kB / 0.5041 GB, free: 36.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.02708, allocations: 493 kB / 0.5045 GB, free: 36.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.766e-06/0.02708, allocations: 0 / 0.5045 GB, free: 36.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.009555/0.03664, allocations: 4.809 MB / 0.5092 GB, free: 31.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.03667, allocations: 115.8 kB / 0.5093 GB, free: 31.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.03719, allocations: 0.9436 MB / 0.5103 GB, free: 30.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/0.03725, allocations: 41.7 kB / 0.5103 GB, free: 30.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.03744, allocations: 0.5586 MB / 0.5108 GB, free: 29.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.03761, allocations: 376.8 kB / 0.5112 GB, free: 29.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.03787, allocations: 301 kB / 0.5115 GB, free: 29.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.03791, allocations: 484.7 kB / 0.5119 GB, free: 28.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.03833, allocations: 399.2 kB / 0.5123 GB, free: 28.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.03881, allocations: 0.6103 MB / 0.5129 GB, free: 27.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.04015, allocations: 1.555 MB / 0.5144 GB, free: 25.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.04016, allocations: 4 kB / 0.5144 GB, free: 25.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004437/0.04459, allocations: 2.945 MB / 0.5173 GB, free: 22.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.04463, allocations: 63.39 kB / 0.5174 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.04464, allocations: 4 kB / 0.5174 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/0.04832, allocations: 1.509 MB / 0.5189 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.04894, allocations: 287.6 kB / 0.5191 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004711/0.05365, allocations: 4.193 MB / 0.5232 GB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.05429, allocations: 167.1 kB / 0.5234 GB, free: 16.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/0.05435, allocations: 43.97 kB / 0.5234 GB, free: 16.45 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.0002884/0.05464, allocations: 267.1 kB / 0.5237 GB, free: 16.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.05478, allocations: 159.2 kB / 0.5238 GB, free: 16.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00394/0.05872, allocations: 2.451 MB / 0.5262 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.05873, allocations: 12 kB / 0.5262 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.05873, allocations: 4 kB / 0.5262 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.05874, allocations: 11.97 kB / 0.5263 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004833/0.06358, allocations: 3.396 MB / 0.5296 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.06358, allocations: 0 / 0.5296 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.06384, allocations: 99.89 kB / 0.5297 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003656/0.0675, allocations: 1.615 MB / 0.5312 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.06757, allocations: 27.98 kB / 0.5313 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005275/0.07284, allocations: 6.224 MB / 0.5374 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.07284, allocations: 0 / 0.5374 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004414/0.07726, allocations: 2.847 MB / 0.5401 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.07743, allocations: 150.9 kB / 0.5403 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.07753, allocations: 20 kB / 0.5403 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.07794, allocations: 75.92 kB / 0.5404 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/0.07826, allocations: 188.6 kB / 0.5405 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.0783, allocations: 24 kB / 0.5406 GB, free: 14.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004046/0.07871, allocations: 0.5545 MB / 0.5411 GB, free: 13.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07871, allocations: 4 kB / 0.5411 GB, free: 13.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001016/0.07972, allocations: 479.5 kB / 0.5416 GB, free: 13.44 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.000229/0.07995, allocations: 138 kB / 0.5417 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.08224, allocations: 1.712 MB / 0.5434 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.08225, allocations: 0.75 kB / 0.5434 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.08379, allocations: 1.258 MB / 0.5446 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.08432, allocations: 130.8 kB / 0.5447 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.08701, allocations: 2.052 MB / 0.5467 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.08719, allocations: 245.4 kB / 0.547 GB, free: 7.715 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.08741, allocations: 112 kB / 0.5471 GB, free: 7.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.0877, allocations: 210.2 kB / 0.5473 GB, free: 7.395 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.0877, allocations: 0 / 0.5473 GB, free: 7.395 MB / 426.7 MB Notification: Performance of Templates: time 0.02846/0.1162, allocations: 27.82 MB / 0.5744 GB, free: 11.77 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8809673450887203]