Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.04887/0.04887, allocations: 9.512 MB / 29.37 MB, free: 152 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008573/0.0008573, allocations: 99.33 kB / 35.55 MB, free: 0.5625 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8711/0.8711, allocations: 158.6 MB / 197.4 MB, free: 6.895 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.001211/0.001211, allocations: 176 kB / 249.9 MB, free: 5.418 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2102/0.2102, allocations: 59.7 MB / 312.9 MB, free: 6.316 MB / 298.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 351 MB, free: 160 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.416e-05, allocations: 6.25 kB / 351 MB, free: 152 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.1462/0.1462, allocations: 6.146 MB / 357.1 MB, free: 20.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.1494, allocations: 1.979 MB / 359.1 MB, free: 18.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005332/0.15, allocations: 13.56 kB / 359.1 MB, free: 18.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.1505, allocations: 242.6 kB / 359.4 MB, free: 18.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.1519, allocations: 0.8755 MB / 360.2 MB, free: 18.18 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.1529, allocations: 0.6386 MB / 360.9 MB, free: 17.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.1541, allocations: 1.581 MB / 362.5 MB, free: 16.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.1544, allocations: 228 kB / 362.7 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009092/0.1553, allocations: 0.9126 MB / 363.6 MB, free: 16.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.1559, allocations: 0.6725 MB / 364.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.1561, allocations: 122.2 kB / 364.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.1565, allocations: 247.3 kB / 364.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.1567, allocations: 339 kB / 365 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.157, allocations: 461.5 kB / 365.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009651/0.158, allocations: 1.209 MB / 366.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.158, allocations: 0.8125 kB / 366.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.158, allocations: 0 / 366.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.158, allocations: 0 / 366.6 MB, free: 14.2 MB / 330.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.00367/0.1617, allocations: 2.607 MB / 369.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.1617, allocations: 12.03 kB / 369.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/0.164, allocations: 0.9605 MB / 370.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006457/0.1646, allocations: 0.5863 MB / 370.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1648, allocations: 330.5 kB / 371.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.1648, allocations: 80 kB / 371.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.1654, allocations: 0.6941 MB / 371.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1654, allocations: 0 / 371.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.1655, allocations: 35.94 kB / 371.9 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.1655, allocations: 20.97 kB / 371.9 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.1659, allocations: 342.3 kB / 372.3 MB, free: 8.883 MB / 330.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.002432/0.1683, allocations: 1.882 MB / 374.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.1702, allocations: 1.177 MB / 375.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1704, allocations: 247.1 kB / 375.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.1705, allocations: 17 kB / 375.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003428/0.1708, allocations: 0.4915 MB / 376.1 MB, free: 4.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.465e-06/0.1709, allocations: 0.5312 kB / 376.1 MB, free: 4.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.0087/0.1796, allocations: 4.561 MB / 380.6 MB, free: 436 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.1796, allocations: 111.8 kB / 380.7 MB, free: 300 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/0.1801, allocations: 0.8485 MB / 381.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.1802, allocations: 49.7 kB / 381.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1804, allocations: 367.2 kB / 382 MB, free: 15.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.1806, allocations: 372.9 kB / 382.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.1808, allocations: 279.3 kB / 382.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.1809, allocations: 301.1 kB / 382.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.1814, allocations: 386.1 kB / 383.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.1819, allocations: 0.5432 MB / 383.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.1835, allocations: 1.513 MB / 385.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1835, allocations: 0 / 385.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004473/0.188, allocations: 2.666 MB / 388 MB, free: 8.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.188, allocations: 59.41 kB / 388.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1881, allocations: 4 kB / 388.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/0.1917, allocations: 1.483 MB / 389.6 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.1924, allocations: 291.6 kB / 389.9 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/0.197, allocations: 3.358 MB / 393.2 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/0.1979, allocations: 159.2 kB / 393.4 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.198, allocations: 39.97 kB / 393.4 MB, free: 3.305 MB / 346.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.0003516/0.1983, allocations: 237.4 kB / 393.6 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.1985, allocations: 103.9 kB / 393.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.2023, allocations: 2.29 MB / 396 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.2023, allocations: 12 kB / 396 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2024, allocations: 8 kB / 396.1 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2024, allocations: 3.984 kB / 396.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004861/0.2072, allocations: 2.979 MB / 399 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2072, allocations: 0 / 399 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.2075, allocations: 99.84 kB / 399.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/0.2111, allocations: 1.595 MB / 400.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/0.2112, allocations: 23.98 kB / 400.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005539/0.2167, allocations: 4.769 MB / 405.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2167, allocations: 3.938 kB / 405.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004376/0.2211, allocations: 2.628 MB / 408.2 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.2213, allocations: 123 kB / 408.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2214, allocations: 20 kB / 408.3 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.2218, allocations: 75.92 kB / 408.4 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.2221, allocations: 192.6 kB / 408.6 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.2222, allocations: 23.94 kB / 408.6 MB, free: 3.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003305/0.2225, allocations: 438.6 kB / 409 MB, free: 3.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2225, allocations: 0 / 409 MB, free: 3.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008958/0.2234, allocations: 471.6 kB / 409.5 MB, free: 2.898 MB / 362.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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002052/0.2236, allocations: 120.3 kB / 409.6 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.2257, allocations: 1.566 MB / 411.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.2258, allocations: 12 kB / 411.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.2274, allocations: 1.105 MB / 412.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.2279, allocations: 143.9 kB / 412.4 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.2305, allocations: 2.002 MB / 414.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.2306, allocations: 249.3 kB / 414.7 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.2309, allocations: 111.5 kB / 414.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.2312, allocations: 187.3 kB / 414.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2312, allocations: 0 / 414.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of Templates: time 0.0282/0.2594, allocations: 26.45 MB / 441.4 MB, free: 2.988 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5379255171865225]