Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001329/0.001329, 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 1.029/1.029, allocations: 177.2 MB / 200.3 MB, free: 5.66 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.001098/0.001098, allocations: 160.2 kB / 257 MB, free: 12.95 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.4485/0.4485, allocations: 83.32 MB / 343.6 MB, free: 6.75 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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 388 MB, free: 10.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.29e-05, allocations: 6.312 kB / 388 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005717/0.00574, allocations: 6.204 MB / 394.2 MB, free: 4.426 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.009553, allocations: 2.051 MB / 396.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.01003, allocations: 12 kB / 396.2 MB, free: 2.355 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.01065, allocations: 241.8 kB / 396.5 MB, free: 2.117 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.0125, allocations: 0.8804 MB / 397.4 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009958/0.01349, allocations: 0.6353 MB / 398 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.01454, allocations: 1.588 MB / 399.6 MB, free: 15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.01482, allocations: 230.7 kB / 399.8 MB, free: 14.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007178/0.01554, allocations: 0.9078 MB / 400.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.01611, allocations: 0.6776 MB / 401.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.01623, allocations: 120 kB / 401.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.01659, allocations: 287.7 kB / 401.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.0168, allocations: 334.6 kB / 402.1 MB, free: 12.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.01709, allocations: 462.4 kB / 402.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009757/0.01806, allocations: 1.222 MB / 403.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01807, allocations: 0 / 403.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01807, allocations: 4 kB / 403.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.01808, allocations: 4 kB / 403.8 MB, free: 10.75 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004387/0.02247, allocations: 2.634 MB / 406.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.0225, allocations: 12.03 kB / 406.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.02541, allocations: 0.9831 MB / 407.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.02614, allocations: 0.5778 MB / 408 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.02632, allocations: 337.2 kB / 408.3 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.02643, allocations: 83.98 kB / 408.4 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/0.02717, allocations: 0.6963 MB / 409.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.02718, allocations: 0 / 409.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.02724, allocations: 31.94 kB / 409.2 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.02725, allocations: 23.98 kB / 409.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.02772, allocations: 346.3 kB / 409.5 MB, free: 4.875 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.002906/0.03062, allocations: 1.887 MB / 411.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.03276, allocations: 1.169 MB / 412.6 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.03303, allocations: 244 kB / 412.8 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.0331, allocations: 24.98 kB / 412.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004409/0.03354, allocations: 478 kB / 413.3 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.365e-06/0.03354, allocations: 0 / 413.3 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.009924/0.04347, allocations: 4.562 MB / 417.9 MB, free: 12.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.04353, allocations: 123.8 kB / 418 MB, free: 12.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.04465, allocations: 0.8368 MB / 418.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.04471, allocations: 49.69 kB / 418.9 MB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.04488, allocations: 371.2 kB / 419.2 MB, free: 10.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.04509, allocations: 372.8 kB / 419.6 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.04538, allocations: 279.3 kB / 419.9 MB, free: 10.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.04546, allocations: 305.2 kB / 420.2 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.04598, allocations: 390.1 kB / 420.5 MB, free: 9.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.04656, allocations: 0.5432 MB / 421.1 MB, free: 9.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.04816, allocations: 1.509 MB / 422.6 MB, free: 7.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.04816, allocations: 4 kB / 422.6 MB, free: 7.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004411/0.05257, allocations: 2.674 MB / 425.3 MB, free: 4.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.05261, allocations: 55.41 kB / 425.3 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.05262, allocations: 4 kB / 425.3 MB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003539/0.05616, allocations: 1.479 MB / 426.8 MB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/0.05701, allocations: 358.3 kB / 427.2 MB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004652/0.06166, allocations: 3.387 MB / 430.5 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/0.06228, allocations: 159.2 kB / 430.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.06235, allocations: 43.98 kB / 430.7 MB, free: 15.14 MB / 410.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.0003109/0.06266, allocations: 215.2 kB / 431 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.06279, allocations: 103.9 kB / 431.1 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.06669, allocations: 2.29 MB / 433.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.06669, allocations: 15.94 kB / 433.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.0667, allocations: 8 kB / 433.4 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.06671, allocations: 3.984 kB / 433.4 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.0713, allocations: 2.968 MB / 436.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.0713, allocations: 0 / 436.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.0716, allocations: 107.8 kB / 436.4 MB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00355/0.07515, allocations: 1.605 MB / 438.1 MB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.07521, allocations: 19.98 kB / 438.1 MB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005347/0.08055, allocations: 4.779 MB / 442.9 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.08056, allocations: 0 / 442.9 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.08486, allocations: 2.638 MB / 445.5 MB, free: 48 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2013/0.2861, allocations: 117.7 kB / 445.6 MB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/0.2866, allocations: 17.88 kB / 445.6 MB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.2872, allocations: 78.27 kB / 445.7 MB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005331/0.2877, allocations: 191.2 kB / 445.9 MB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.2878, allocations: 19.19 kB / 445.9 MB, free: 60.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004943/0.2883, allocations: 437.9 kB / 446.3 MB, free: 60.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2883, allocations: 0 / 446.3 MB, free: 60.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001116/0.2894, allocations: 474 kB / 446.8 MB, free: 60.66 MB / 410.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.0002514/0.2897, allocations: 124.2 kB / 446.9 MB, free: 60.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.2921, allocations: 1.571 MB / 448.5 MB, free: 60.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.2921, allocations: 15.56 kB / 448.5 MB, free: 60.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.2938, allocations: 1.108 MB / 449.6 MB, free: 59.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.2943, allocations: 134.3 kB / 449.7 MB, free: 59.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.2971, allocations: 2.001 MB / 451.7 MB, free: 58.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2974, allocations: 246 kB / 452 MB, free: 58.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.2976, allocations: 119 kB / 452.1 MB, free: 58.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.2979, allocations: 183.3 kB / 452.3 MB, free: 58.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2979, allocations: 0 / 452.3 MB, free: 58.7 MB / 410.7 MB Notification: Performance of Templates: time 0.0268/0.3247, allocations: 26.93 MB / 479.2 MB, free: 39.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8484599110670388]