Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.0009342/0.0009342, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9637/0.9637, allocations: 177.2 MB / 200.3 MB, free: 4.824 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.001214/0.001214, allocations: 163.6 kB / 257 MB, free: 12.63 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.3863/0.3863, allocations: 80.23 MB / 340.5 MB, free: 9.477 MB / 314.7 MB " [Timeout remaining time 180] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 383.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.716e-05, allocations: 2.312 kB / 383.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008036/0.008063, allocations: 6.219 MB / 390 MB, free: 8.434 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005807/0.01387, allocations: 2.086 MB / 392.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.01493, allocations: 8 kB / 392.1 MB, free: 6.332 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008729/0.0158, allocations: 253.8 kB / 392.4 MB, free: 6.082 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.01855, allocations: 0.8959 MB / 393.3 MB, free: 5.184 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.01997, allocations: 0.6509 MB / 393.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.02214, allocations: 1.631 MB / 395.6 MB, free: 2.891 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004721/0.02261, allocations: 224.9 kB / 395.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.0241, allocations: 0.9428 MB / 396.7 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.02527, allocations: 0.6971 MB / 397.4 MB, free: 1.004 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.02559, allocations: 136 kB / 397.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000622/0.02622, allocations: 275.7 kB / 397.8 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.02651, allocations: 358.5 kB / 398.2 MB, free: 256 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006476/0.02716, allocations: 474.5 kB / 398.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.02901, allocations: 1.257 MB / 399.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.02902, allocations: 4 kB / 399.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02902, allocations: 0 / 399.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.378e-05/0.02907, allocations: 0 / 399.9 MB, free: 14.52 MB / 378.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.005036/0.0341, allocations: 2.704 MB / 402.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.03414, allocations: 8.031 kB / 402.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/0.03667, allocations: 0.9832 MB / 403.6 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.03756, allocations: 0.5975 MB / 404.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.03775, allocations: 329.3 kB / 404.5 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.03786, allocations: 91.94 kB / 404.6 MB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.03859, allocations: 0.6963 MB / 405.3 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.03861, allocations: 0 / 405.3 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.03866, allocations: 39.94 kB / 405.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.03867, allocations: 19.94 kB / 405.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.03914, allocations: 342.3 kB / 405.7 MB, free: 8.555 MB / 378.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.002792/0.04193, allocations: 1.903 MB / 407.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.044, allocations: 1.182 MB / 408.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.04427, allocations: 241.7 kB / 409 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.428e-05/0.04435, allocations: 20.98 kB / 409 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.0448, allocations: 493.9 kB / 409.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 2.855e-06/0.0448, allocations: 0 / 409.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.009796/0.0546, allocations: 4.664 MB / 414.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.05466, allocations: 115.8 kB / 414.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/0.05545, allocations: 0.8691 MB / 415.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.05555, allocations: 45.7 kB / 415.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.05576, allocations: 371.3 kB / 415.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.05604, allocations: 376.8 kB / 415.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.05633, allocations: 287.2 kB / 416.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.0564, allocations: 305.1 kB / 416.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.05692, allocations: 386.1 kB / 416.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.05748, allocations: 0.555 MB / 417.4 MB, free: 12.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.05907, allocations: 1.521 MB / 419 MB, free: 10.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.05907, allocations: 3.938 kB / 419 MB, free: 10.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004732/0.0638, allocations: 2.748 MB / 421.7 MB, free: 8.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.06385, allocations: 63.39 kB / 421.8 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.06386, allocations: 4 kB / 421.8 MB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004195/0.06806, allocations: 1.591 MB / 423.4 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008397/0.0689, allocations: 283.6 kB / 423.6 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.0741, allocations: 3.533 MB / 427.2 MB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009632/0.07507, allocations: 163.1 kB / 427.3 MB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.07514, allocations: 39.98 kB / 427.4 MB, free: 2.367 MB / 394.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.0004074/0.07555, allocations: 227.3 kB / 427.6 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.07571, allocations: 103.8 kB / 427.7 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.07975, allocations: 2.306 MB / 430 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.07976, allocations: 8 kB / 430 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.07977, allocations: 11.94 kB / 430 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.07979, allocations: 11.97 kB / 430 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004937/0.08472, allocations: 2.991 MB / 433 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.08473, allocations: 0 / 433 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.08503, allocations: 99.89 kB / 433.1 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003684/0.08872, allocations: 1.577 MB / 434.7 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-05/0.08879, allocations: 19.98 kB / 434.7 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00583/0.09462, allocations: 4.799 MB / 439.5 MB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.09462, allocations: 3.938 kB / 439.5 MB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.09923, allocations: 2.646 MB / 442.2 MB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.0996, allocations: 123 kB / 442.3 MB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.09973, allocations: 24 kB / 442.3 MB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/0.1002, allocations: 75.92 kB / 442.4 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/0.1006, allocations: 192.6 kB / 442.6 MB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.1006, allocations: 23.94 kB / 442.6 MB, free: 2.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003806/0.101, allocations: 455.2 kB / 443 MB, free: 2.332 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.101, allocations: 4 kB / 443 MB, free: 2.328 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001035/0.102, allocations: 487.6 kB / 443.5 MB, free: 1.852 MB / 410.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.0002533/0.1023, allocations: 116.3 kB / 443.6 MB, free: 1.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.1047, allocations: 1.653 MB / 445.3 MB, free: 12 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.1047, allocations: 12 kB / 445.3 MB, free: 0 / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1602/0.2649, allocations: 1.065 MB / 446.4 MB, free: 65.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.2656, allocations: 128 kB / 446.5 MB, free: 65.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.2685, allocations: 2.059 MB / 448.6 MB, free: 64.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.2687, allocations: 243.9 kB / 448.8 MB, free: 64.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002986/0.269, allocations: 113.2 kB / 448.9 MB, free: 64.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.2693, allocations: 186 kB / 449.1 MB, free: 64.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2693, allocations: 0 / 449.1 MB, free: 64.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02563/0.2949, allocations: 27.36 MB / 476.4 MB, free: 45.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.829048415645957]