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.0009265/0.0009265, allocations: 93.16 kB / 19.65 MB, free: 288 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 0.9038/0.9038, allocations: 177.2 MB / 200 MB, free: 5.504 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.001624/0.001624, allocations: 164.4 kB / 256.6 MB, free: 12.98 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.2989/0.2989, allocations: 80.35 MB / 393.5 MB, free: 2.09 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 2.114e-06/2.114e-06, allocations: 0 / 490 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.363e-05, allocations: 5.266 kB / 490 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007267/0.007291, allocations: 6.306 MB / 496.3 MB, free: 5.172 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.01085, allocations: 1.967 MB / 498.2 MB, free: 3.211 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.01128, allocations: 17.03 kB / 498.3 MB, free: 3.195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007093/0.01199, allocations: 237.9 kB / 498.5 MB, free: 2.961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.0138, allocations: 0.8628 MB / 499.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.01499, allocations: 0.6543 MB / 0.4883 GB, free: 1.461 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.01643, allocations: 1.58 MB / 0.4898 GB, free: 15.87 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.01679, allocations: 214.8 kB / 0.49 GB, free: 15.65 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009945/0.01779, allocations: 0.9038 MB / 0.4909 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008369/0.01862, allocations: 0.6671 MB / 0.4916 GB, free: 14.08 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.01881, allocations: 124 kB / 0.4917 GB, free: 13.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.01929, allocations: 273.4 kB / 0.4919 GB, free: 13.69 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.01958, allocations: 330.5 kB / 0.4923 GB, free: 13.37 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004565/0.02004, allocations: 466.5 kB / 0.4927 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.02147, allocations: 1.225 MB / 0.4939 GB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.02147, allocations: 0.5625 kB / 0.4939 GB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02147, allocations: 0 / 0.4939 GB, free: 11.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.02149, allocations: 0.5938 kB / 0.4939 GB, free: 11.68 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.00721/0.0287, allocations: 2.907 MB / 0.4967 GB, free: 8.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.02874, allocations: 12.03 kB / 0.4968 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.03311, allocations: 0.9318 MB / 0.4977 GB, free: 7.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.03446, allocations: 0.8068 MB / 0.4984 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.03473, allocations: 329.3 kB / 0.4988 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.0349, allocations: 83.98 kB / 0.4988 GB, free: 6.496 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.03636, allocations: 0.7501 MB / 0.4996 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.03638, allocations: 11.88 kB / 0.4996 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/0.03647, allocations: 31.94 kB / 0.4996 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.03649, allocations: 20 kB / 0.4996 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.03768, allocations: 497.3 kB / 0.5001 GB, free: 5.168 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.004237/0.04192, allocations: 2.725 MB / 0.5028 GB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.04462, allocations: 1.251 MB / 0.504 GB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/0.04507, allocations: 342.8 kB / 0.5043 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.097e-05/0.04515, allocations: 20.98 kB / 0.5043 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006332/0.04579, allocations: 0.5338 MB / 0.5049 GB, free: 160 kB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 2.455e-06/0.04579, allocations: 0 / 0.5049 GB, free: 160 kB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01165/0.05744, allocations: 4.989 MB / 0.5097 GB, free: 11.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.05749, allocations: 111.8 kB / 0.5098 GB, free: 11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/0.05832, allocations: 0.9833 MB / 0.5108 GB, free: 9.996 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.05839, allocations: 45.7 kB / 0.5108 GB, free: 9.945 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.05868, allocations: 0.5509 MB / 0.5114 GB, free: 9.387 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.0589, allocations: 372.9 kB / 0.5117 GB, free: 9.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.05923, allocations: 293.1 kB / 0.512 GB, free: 8.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.05932, allocations: 480.7 kB / 0.5125 GB, free: 8.254 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.0599, allocations: 435.2 kB / 0.5129 GB, free: 7.816 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.06057, allocations: 0.6338 MB / 0.5135 GB, free: 7.117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.06245, allocations: 1.637 MB / 0.5151 GB, free: 5.395 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.06245, allocations: 0 / 0.5151 GB, free: 5.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005556/0.06801, allocations: 3.043 MB / 0.5181 GB, free: 2.312 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/0.06806, allocations: 63.39 kB / 0.5181 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.06807, allocations: 4 kB / 0.5181 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/0.07221, allocations: 1.521 MB / 0.5196 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.07293, allocations: 295.5 kB / 0.5199 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006379/0.07931, allocations: 4.355 MB / 0.5242 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/0.08004, allocations: 167.1 kB / 0.5243 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/0.08012, allocations: 55.97 kB / 0.5244 GB, free: 11.71 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: 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.0003496/0.08047, allocations: 271.1 kB / 0.5246 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.08065, allocations: 163.1 kB / 0.5248 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/0.08552, allocations: 2.576 MB / 0.5273 GB, free: 8.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.08553, allocations: 16 kB / 0.5273 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.08554, allocations: 4 kB / 0.5273 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.08555, allocations: 7.984 kB / 0.5273 GB, free: 8.633 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/0.09156, allocations: 3.659 MB / 0.5309 GB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.09157, allocations: 0 / 0.5309 GB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.09186, allocations: 95.89 kB / 0.531 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004253/0.09611, allocations: 1.638 MB / 0.5326 GB, free: 3.164 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.09618, allocations: 23.98 kB / 0.5326 GB, free: 3.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/0.1037, allocations: 6.412 MB / 0.5389 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1037, allocations: 0 / 0.5389 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/0.1092, allocations: 3.038 MB / 0.5419 GB, free: 9.375 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.1094, allocations: 139 kB / 0.542 GB, free: 9.238 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.1095, allocations: 20 kB / 0.542 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/0.11, allocations: 83.92 kB / 0.5421 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/0.1103, allocations: 200.5 kB / 0.5423 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.1103, allocations: 27.98 kB / 0.5423 GB, free: 8.914 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006857/0.111, allocations: 0.6172 MB / 0.5429 GB, free: 8.289 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.111, allocations: 3.938 kB / 0.5429 GB, free: 8.285 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00113/0.1122, allocations: 471.6 kB / 0.5434 GB, free: 7.824 MB / 474.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.0002836/0.1124, allocations: 141.3 kB / 0.5435 GB, free: 7.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.1153, allocations: 1.798 MB / 0.5452 GB, free: 5.816 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1153, allocations: 4 kB / 0.5453 GB, free: 5.812 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.117, allocations: 1.29 MB / 0.5465 GB, free: 4.461 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.1175, allocations: 131.1 kB / 0.5466 GB, free: 4.332 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.1202, allocations: 2.055 MB / 0.5486 GB, free: 2.234 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.1204, allocations: 237.5 kB / 0.5489 GB, free: 1.98 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.1206, allocations: 120 kB / 0.549 GB, free: 1.859 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.1208, allocations: 84.47 kB / 0.5491 GB, free: 1.777 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1208, allocations: 0 / 0.5491 GB, free: 1.777 MB / 474.7 MB Notification: Performance of Templates: time 0.02821/0.149, allocations: 26.84 MB / 0.5753 GB, free: 7.07 MB / 0.4948 GB " [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.031541590113193]