Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001251/0.001251, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.9188/0.9188, allocations: 177.2 MB / 200.3 MB, free: 5.375 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.001141/0.001141, allocations: 156.6 kB / 257 MB, free: 12.8 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.3953/0.3953, allocations: 83.32 MB / 343.6 MB, free: 6.176 MB / 314.7 MB " [Timeout remaining time 180] 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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 388 MB, free: 10.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.207e-05, allocations: 6.312 kB / 388 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.009016/0.009038, allocations: 12.53 MB / 400.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006822/0.01586, allocations: 3.667 MB / 404.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.01764, allocations: 32 kB / 404.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.01872, allocations: 0.5809 MB / 404.8 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.0217, allocations: 1.63 MB / 406.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.02399, allocations: 1.532 MB / 408 MB, free: 6.453 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003325/0.02732, allocations: 3.753 MB / 411.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000779/0.0281, allocations: 0.6166 MB / 412.3 MB, free: 1.996 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.03048, allocations: 2.143 MB / 414.5 MB, free: 15.85 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.0319, allocations: 1.581 MB / 416.1 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.03223, allocations: 288 kB / 416.3 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.03284, allocations: 447.8 kB / 416.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.03325, allocations: 0.7817 MB / 417.6 MB, free: 12.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008898/0.03414, allocations: 1.078 MB / 418.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.03679, allocations: 2.89 MB / 421.5 MB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.03679, allocations: 4 kB / 421.5 MB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03679, allocations: 0 / 421.5 MB, free: 8.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.045e-05/0.03684, allocations: 0 / 421.5 MB, free: 8.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01075/0.04759, allocations: 6.629 MB / 428.2 MB, free: 2.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.04763, allocations: 8.031 kB / 428.2 MB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00768/0.05531, allocations: 2.91 MB / 431.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.05732, allocations: 1.208 MB / 432.3 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.05775, allocations: 0.8139 MB / 433.1 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.05804, allocations: 216 kB / 433.3 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.06005, allocations: 1.829 MB / 435.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.06008, allocations: 7.922 kB / 435.2 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.06022, allocations: 80 kB / 435.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.06025, allocations: 52 kB / 435.3 MB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.06155, allocations: 0.8959 MB / 436.2 MB, free: 9.695 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.008038/0.06959, allocations: 4.989 MB / 441.2 MB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.07248, allocations: 1.831 MB / 443 MB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008624/0.07334, allocations: 0.6308 MB / 443.6 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.07353, allocations: 49.98 kB / 443.7 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.0746, allocations: 1.175 MB / 444.9 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 5.45e-06/0.07461, allocations: 0 / 444.9 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.1945/0.2691, allocations: 19.29 MB / 464.1 MB, free: 52.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.2692, allocations: 185.2 kB / 464.3 MB, free: 52.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.2705, allocations: 1.814 MB / 466.1 MB, free: 50.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004451/0.271, allocations: 69.33 kB / 466.2 MB, free: 50.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.2714, allocations: 0.805 MB / 467 MB, free: 50.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007103/0.2721, allocations: 0.9213 MB / 467.9 MB, free: 49.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/0.2727, allocations: 0.5514 MB / 468.5 MB, free: 49.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.636e-05/0.2728, allocations: 305 kB / 468.8 MB, free: 49.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.2739, allocations: 0.8318 MB / 469.6 MB, free: 48.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.2751, allocations: 1.174 MB / 470.8 MB, free: 47.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/0.2785, allocations: 3.387 MB / 474.2 MB, free: 44.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.2785, allocations: 0 / 474.2 MB, free: 44.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01287/0.2914, allocations: 7.607 MB / 481.8 MB, free: 36.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.2914, allocations: 115.2 kB / 481.9 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.2915, allocations: 11.98 kB / 481.9 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/0.3029, allocations: 4.978 MB / 486.9 MB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.3045, allocations: 0.5519 MB / 487.4 MB, free: 31.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.3175, allocations: 7.793 MB / 495.2 MB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.3196, allocations: 404 kB / 495.6 MB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/0.3198, allocations: 83.91 kB / 495.7 MB, free: 23.66 MB / 410.7 MB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 4 * 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 {(64,24,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007648/0.3206, allocations: 346.3 kB / 496 MB, free: 23.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/0.321, allocations: 255.8 kB / 496.3 MB, free: 23.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.3326, allocations: 7.015 MB / 0.4915 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.3326, allocations: 28 kB / 0.4915 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/0.3326, allocations: 16 kB / 0.4916 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/0.3327, allocations: 11.95 kB / 0.4916 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.3476, allocations: 8.436 MB / 0.4998 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.3477, allocations: 0.5625 kB / 0.4998 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008945/0.3486, allocations: 239.7 kB / 0.5 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01206/0.3606, allocations: 5.13 MB / 0.505 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004064/0.361, allocations: 47.92 kB / 0.5051 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01537/0.3764, allocations: 10.51 MB / 0.5154 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3764, allocations: 0.7656 kB / 0.5154 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/0.3909, allocations: 7.701 MB / 0.5229 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006684/0.3916, allocations: 295.3 kB / 0.5232 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/0.3919, allocations: 45.2 kB / 0.5232 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.3931, allocations: 215.8 kB / 0.5234 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/0.3943, allocations: 0.5682 MB / 0.524 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.3945, allocations: 51.98 kB / 0.524 GB, free: 14.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008235/0.3953, allocations: 0.9612 MB / 0.5249 GB, free: 13.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3953, allocations: 0 / 0.5249 GB, free: 13.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002486/0.3978, allocations: 1.173 MB / 0.5261 GB, free: 12.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005018/0.3983, allocations: 163.1 kB / 0.5263 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006246/0.4045, allocations: 3.923 MB / 0.5301 GB, free: 8.004 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.23e-05/0.4045, allocations: 25.2 kB / 0.5301 GB, free: 7.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004569/0.4091, allocations: 2.859 MB / 0.5329 GB, free: 5.039 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.4108, allocations: 301.1 kB / 0.5332 GB, free: 4.746 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/0.4179, allocations: 4.834 MB / 0.5379 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.4184, allocations: 0.536 MB / 0.5384 GB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008346/0.4192, allocations: 246.3 kB / 0.5387 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/0.4198, allocations: 359.2 kB / 0.539 GB, free: 14.74 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/0.4198, allocations: 0 / 0.539 GB, free: 14.74 MB / 458.7 MB Notification: Performance of Templates: time 0.07691/0.4967, allocations: 70.46 MB / 0.6078 GB, free: 8.809 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.566359092015773]