Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.04703/0.04703, allocations: 9.51 MB / 29.37 MB, free: 156 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.0007946/0.0007946, allocations: 99.33 kB / 35.55 MB, free: 0.5664 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.8467/0.8467, allocations: 158.6 MB / 197.4 MB, free: 6.883 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.001112/0.001112, allocations: 168.4 kB / 249.9 MB, free: 5.426 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.2729/0.2729, allocations: 59.7 MB / 312.9 MB, free: 6.309 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 351 MB, free: 164 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.844e-05, allocations: 10.25 kB / 351 MB, free: 152 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.16/0.16, allocations: 6.233 MB / 357.2 MB, free: 20.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004571/0.1646, allocations: 1.996 MB / 359.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000999/0.1656, allocations: 16.38 kB / 359.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.1663, allocations: 246.2 kB / 359.5 MB, free: 18.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.1683, allocations: 0.8847 MB / 360.4 MB, free: 18.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1696, allocations: 0.6596 MB / 361 MB, free: 17.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.1712, allocations: 1.635 MB / 362.6 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.1716, allocations: 228.2 kB / 362.9 MB, free: 16.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.1728, allocations: 0.9323 MB / 363.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008787/0.1736, allocations: 0.703 MB / 364.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.1739, allocations: 131.1 kB / 364.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005353/0.1745, allocations: 263 kB / 364.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.1747, allocations: 345.2 kB / 365.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.1751, allocations: 479.6 kB / 365.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.1764, allocations: 1.244 MB / 366.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1764, allocations: 1.125 kB / 366.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1764, allocations: 0 / 366.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.864e-05/0.1765, allocations: 0 / 366.9 MB, free: 13.95 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005247/0.1817, allocations: 2.668 MB / 369.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.1817, allocations: 8.75 kB / 369.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.1852, allocations: 0.9643 MB / 370.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.1891, allocations: 0.5992 MB / 371.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.1893, allocations: 329.9 kB / 371.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.1894, allocations: 93.59 kB / 371.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.1902, allocations: 0.6885 MB / 372.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1902, allocations: 8.812 kB / 372.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.1903, allocations: 28 kB / 372.3 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.1903, allocations: 23.94 kB / 372.3 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.1908, allocations: 343.1 kB / 372.7 MB, free: 8.473 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.006093/0.1969, allocations: 1.905 MB / 374.6 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/0.2025, allocations: 1.178 MB / 375.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.2028, allocations: 246.8 kB / 376 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/0.2028, allocations: 22.69 kB / 376 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003462/0.2063, allocations: 494.8 kB / 376.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 3.948e-06/0.2063, allocations: 0.7969 kB / 376.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.02444/0.2307, allocations: 4.667 MB / 381.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.2308, allocations: 111.8 kB / 381.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008535/0.2316, allocations: 0.869 MB / 382.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.871e-05/0.2317, allocations: 41.7 kB / 382.2 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.232, allocations: 383.2 kB / 382.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.2322, allocations: 384.7 kB / 382.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/0.2326, allocations: 283.3 kB / 383.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.2327, allocations: 301.1 kB / 383.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/0.2364, allocations: 386.1 kB / 383.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/0.2371, allocations: 0.5471 MB / 384.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00512/0.2422, allocations: 1.521 MB / 386 MB, free: 10.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.2422, allocations: 4 kB / 386 MB, free: 10.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008832/0.2511, allocations: 2.746 MB / 388.7 MB, free: 8.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.2511, allocations: 59.41 kB / 388.8 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.2511, allocations: 4 kB / 388.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004209/0.2553, allocations: 1.604 MB / 390.4 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.2561, allocations: 279.6 kB / 390.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/0.2615, allocations: 3.52 MB / 394.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.2625, allocations: 171.1 kB / 394.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.2626, allocations: 47.97 kB / 394.4 MB, free: 2.344 MB / 346.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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 (162): * Single equations (assignments): 159 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004239/0.263, allocations: 218.8 kB / 394.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.2632, allocations: 111.8 kB / 394.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004051/0.2673, allocations: 2.302 MB / 397 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.2673, allocations: 12 kB / 397 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.2673, allocations: 15.88 kB / 397 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2673, allocations: 3.984 kB / 397 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/0.2725, allocations: 2.987 MB / 400 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.2725, allocations: 3.984 kB / 400 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.2728, allocations: 99.89 kB / 400.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003945/0.2768, allocations: 1.579 MB / 401.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-05/0.2769, allocations: 16 kB / 401.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005697/0.2826, allocations: 4.795 MB / 406.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2826, allocations: 7.938 kB / 406.5 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.2871, allocations: 2.634 MB / 409.2 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.2873, allocations: 123 kB / 409.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2874, allocations: 16 kB / 409.3 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.2879, allocations: 79.92 kB / 409.4 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/0.2882, allocations: 192.6 kB / 409.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.2883, allocations: 28.92 kB / 409.6 MB, free: 2.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003509/0.2886, allocations: 455.2 kB / 410 MB, free: 2.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2886, allocations: 0 / 410 MB, free: 2.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001004/0.2896, allocations: 487.6 kB / 410.5 MB, free: 1.867 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002252/0.2898, allocations: 110.9 kB / 410.6 MB, free: 1.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.2922, allocations: 1.649 MB / 412.3 MB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.2922, allocations: 8 kB / 412.3 MB, free: 36 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.2936, allocations: 1.089 MB / 413.4 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.2941, allocations: 134.2 kB / 413.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.297, allocations: 2.063 MB / 415.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.2972, allocations: 249.6 kB / 415.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000261/0.2974, allocations: 113 kB / 415.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.2977, allocations: 183.4 kB / 416.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2977, allocations: 0 / 416.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of Templates: time 0.03061/0.3283, allocations: 27.29 MB / 443.4 MB, free: 1.016 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7238649940118194]