Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005615/0.005615, allocations: 101.5 kB / 15.88 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 239.5 MB, free: 4.777 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 199.6 kB / 289.8 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5266/0.5266, allocations: 91.9 MB / 431.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 75.88 kB / 0.5019 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.358, allocations: 71.25 MB / 0.5714 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005586/0.3637, allocations: 6.836 MB / 0.5781 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.3666, allocations: 2.003 MB / 0.5801 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003736/0.3669, allocations: 14.88 kB / 0.5801 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.3675, allocations: 187.3 kB / 0.5803 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.369, allocations: 0.712 MB / 0.581 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000991/0.37, allocations: 0.5837 MB / 0.5815 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.371, allocations: 1.493 MB / 0.583 GB, free: 29.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.3714, allocations: 294.6 kB / 0.5833 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.3719, allocations: 0.5903 MB / 0.5838 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006414/0.3726, allocations: 0.7764 MB / 0.5846 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.3727, allocations: 71.84 kB / 0.5847 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.3731, allocations: 208 kB / 0.5849 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.3733, allocations: 277.7 kB / 0.5851 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004402/0.3737, allocations: 0.6281 MB / 0.5857 GB, free: 28.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008564/0.3746, allocations: 1.253 MB / 0.587 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3746, allocations: 0 / 0.587 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3746, allocations: 0 / 0.587 GB, free: 27.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3746, allocations: 0 / 0.587 GB, free: 27.79 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008333/0.383, allocations: 2.685 MB / 0.5896 GB, free: 26.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.383, allocations: 17.47 kB / 0.5896 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/0.3879, allocations: 0.769 MB / 0.5904 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3893, allocations: 0.8907 MB / 0.5912 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.3895, allocations: 260.8 kB / 0.5915 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.3897, allocations: 79.22 kB / 0.5916 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.3918, allocations: 1.086 MB / 0.5926 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3918, allocations: 3.141 kB / 0.5926 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.049e-05/0.3919, allocations: 30.12 kB / 0.5926 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.3919, allocations: 18.53 kB / 0.5927 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.3939, allocations: 0.985 MB / 0.5936 GB, free: 24.74 MB / 430.1 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.006292/0.4002, allocations: 3.821 MB / 0.5974 GB, free: 22.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/0.4077, allocations: 2.367 MB / 0.5997 GB, free: 21.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.4091, allocations: 0.6747 MB / 0.6003 GB, free: 21.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.4092, allocations: 16 kB / 0.6003 GB, free: 21.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/0.4108, allocations: 0.8237 MB / 0.6011 GB, free: 21.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.735e-06/0.4109, allocations: 0 / 0.6011 GB, free: 21.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0307/0.4416, allocations: 7.189 MB / 0.6082 GB, free: 19.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.4416, allocations: 119.6 kB / 0.6083 GB, free: 19.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.4435, allocations: 1.089 MB / 0.6093 GB, free: 19.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.4437, allocations: 46.14 kB / 0.6094 GB, free: 19.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.444, allocations: 494.8 kB / 0.6099 GB, free: 18.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.4444, allocations: 351.2 kB / 0.6102 GB, free: 18.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004961/0.4449, allocations: 283.7 kB / 0.6105 GB, free: 18.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.4449, allocations: 301.7 kB / 0.6108 GB, free: 18.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.4465, allocations: 0.7569 MB / 0.6115 GB, free: 17.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.4481, allocations: 0.9287 MB / 0.6124 GB, free: 17.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02298/0.4711, allocations: 5.56 MB / 0.6178 GB, free: 14.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.4712, allocations: 0 / 0.6178 GB, free: 14.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01205/0.4832, allocations: 4.351 MB / 0.6221 GB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.4833, allocations: 67.33 kB / 0.6221 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.4834, allocations: 7.984 kB / 0.6222 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005107/0.4885, allocations: 1.584 MB / 0.6237 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.4899, allocations: 283.5 kB / 0.624 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/0.5065, allocations: 7.834 MB / 0.6316 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.5085, allocations: 202.7 kB / 0.6318 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/0.5087, allocations: 51.98 kB / 0.6319 GB, free: 252 kB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008108/0.5095, allocations: 311.6 kB / 0.6322 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/0.5101, allocations: 126.4 kB / 0.6323 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/0.5228, allocations: 3.869 MB / 0.6361 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.5228, allocations: 12 kB / 0.6361 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.5228, allocations: 11.94 kB / 0.6361 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.5229, allocations: 3.984 kB / 0.6361 GB, free: 11.87 MB / 446.1 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 postOpt removeSimpleEquations (simulation): time 0.01481/0.5377, allocations: 5.45 MB / 0.6414 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.5377, allocations: 0 / 0.6414 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.5383, allocations: 99.89 kB / 0.6415 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005568/0.5439, allocations: 1.619 MB / 0.6431 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.544, allocations: 20 kB / 0.6431 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/0.5638, allocations: 8.777 MB / 0.6517 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5638, allocations: 11.94 kB / 0.6517 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/0.5791, allocations: 4.729 MB / 0.6563 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/0.5798, allocations: 219.3 kB / 0.6565 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000571/0.5804, allocations: 24 kB / 0.6565 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.582, allocations: 107.9 kB / 0.6566 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/0.5827, allocations: 188.7 kB / 0.6568 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.5829, allocations: 31.98 kB / 0.6568 GB, free: 6.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001366/0.5843, allocations: 0.7315 MB / 0.6576 GB, free: 5.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5843, allocations: 0 / 0.6576 GB, free: 5.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00194/0.5862, allocations: 471.5 kB / 0.658 GB, free: 4.949 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003616/0.5866, allocations: 139.1 kB / 0.6581 GB, free: 4.805 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006629/0.5932, allocations: 2.517 MB / 0.6606 GB, free: 2.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5933, allocations: 0 / 0.6606 GB, free: 2.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004379/0.5977, allocations: 1.591 MB / 0.6622 GB, free: 0.625 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.599, allocations: 114.9 kB / 0.6623 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.6037, allocations: 2.682 MB / 0.6649 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.6046, allocations: 1.12 MB / 0.666 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.6049, allocations: 83.41 kB / 0.6661 GB, free: 12.57 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.605, allocations: 0 / 0.6661 GB, free: 12.57 MB / 478.1 MB Notification: Performance of Templates: time 0.03129/0.6362, allocations: 23.38 MB / 0.6889 GB, free: 5.199 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)