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.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001107, allocations: 105.2 kB / 15.99 MB, free: 6.352 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.299/1.299, allocations: 222.9 MB / 239.6 MB, free: 4.727 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.001275/0.001275, allocations: 200.4 kB / 289.9 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4917/0.4917, allocations: 91.89 MB / 432 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001655, allocations: 83.88 kB / 0.502 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3124, allocations: 71.26 MB / 0.5716 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005289/0.3177, allocations: 6.883 MB / 0.5783 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.3207, allocations: 1.996 MB / 0.5803 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/0.3213, allocations: 15.56 kB / 0.5803 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.3219, allocations: 179.5 kB / 0.5805 GB, free: 31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.3234, allocations: 0.7155 MB / 0.5812 GB, free: 30.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009968/0.3244, allocations: 0.5788 MB / 0.5817 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.3256, allocations: 1.581 MB / 0.5833 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.326, allocations: 330.4 kB / 0.5836 GB, free: 29.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006341/0.3266, allocations: 0.6465 MB / 0.5842 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006679/0.3273, allocations: 0.8221 MB / 0.585 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.3275, allocations: 121.6 kB / 0.5852 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.3279, allocations: 265.3 kB / 0.5854 GB, free: 28.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.3281, allocations: 327 kB / 0.5857 GB, free: 28.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.3285, allocations: 0.6754 MB / 0.5864 GB, free: 27.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009557/0.3295, allocations: 1.27 MB / 0.5876 GB, free: 27.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3295, allocations: 4 kB / 0.5876 GB, free: 27.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3295, allocations: 3.938 kB / 0.5876 GB, free: 27.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3295, allocations: 5.062 kB / 0.5876 GB, free: 27.38 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008347/0.3379, allocations: 2.686 MB / 0.5903 GB, free: 26.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3379, allocations: 11.22 kB / 0.5903 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/0.3429, allocations: 0.7734 MB / 0.591 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.3443, allocations: 0.8744 MB / 0.5919 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.3445, allocations: 265.1 kB / 0.5921 GB, free: 25.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.3447, allocations: 89.81 kB / 0.5922 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.3467, allocations: 1.087 MB / 0.5933 GB, free: 24.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.3468, allocations: 1.312 kB / 0.5933 GB, free: 24.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.3469, allocations: 29.75 kB / 0.5933 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.3469, allocations: 17.88 kB / 0.5933 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.3488, allocations: 0.9905 MB / 0.5943 GB, free: 24.33 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.006468/0.3553, allocations: 3.856 MB / 0.5981 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007242/0.3626, allocations: 2.364 MB / 0.6004 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.3641, allocations: 0.6748 MB / 0.601 GB, free: 21.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.3643, allocations: 21.17 kB / 0.601 GB, free: 21.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.3659, allocations: 0.8211 MB / 0.6018 GB, free: 20.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.725e-06/0.3659, allocations: 0 / 0.6018 GB, free: 20.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02936/0.3953, allocations: 7.081 MB / 0.6088 GB, free: 19.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.3954, allocations: 121.6 kB / 0.6089 GB, free: 19.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.3971, allocations: 1.083 MB / 0.6099 GB, free: 18.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.3974, allocations: 41.56 kB / 0.61 GB, free: 18.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.3977, allocations: 494.2 kB / 0.6104 GB, free: 18.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.398, allocations: 356.5 kB / 0.6108 GB, free: 18.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005414/0.3986, allocations: 290.8 kB / 0.6111 GB, free: 17.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.3986, allocations: 302.2 kB / 0.6114 GB, free: 17.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.4002, allocations: 0.764 MB / 0.6121 GB, free: 17.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.402, allocations: 0.9338 MB / 0.613 GB, free: 16.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02347/0.4255, allocations: 5.59 MB / 0.6185 GB, free: 14.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.4255, allocations: 5.062 kB / 0.6185 GB, free: 14.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.0122/0.4377, allocations: 4.331 MB / 0.6227 GB, free: 9.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.4378, allocations: 61.12 kB / 0.6228 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4378, allocations: 3.984 kB / 0.6228 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005002/0.4428, allocations: 1.513 MB / 0.6242 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.4442, allocations: 295.6 kB / 0.6245 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/0.4612, allocations: 8.284 MB / 0.6326 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.4632, allocations: 198.8 kB / 0.6328 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.4634, allocations: 55.97 kB / 0.6329 GB, free: 15.3 MB / 446.1 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 (166): * Single equations (assignments): 163 * 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.0006444/0.464, allocations: 307.8 kB / 0.6332 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.4643, allocations: 130.3 kB / 0.6333 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.4772, allocations: 3.873 MB / 0.6371 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.4773, allocations: 12 kB / 0.6371 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.4773, allocations: 4 kB / 0.6371 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.4773, allocations: 7.922 kB / 0.6371 GB, free: 10.93 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.01492/0.4923, allocations: 5.469 MB / 0.6424 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.4923, allocations: 0 / 0.6424 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.4929, allocations: 103.8 kB / 0.6425 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00533/0.4983, allocations: 1.602 MB / 0.6441 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.4985, allocations: 16 kB / 0.6441 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/0.5188, allocations: 9.634 MB / 0.6535 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5188, allocations: 0 / 0.6535 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/0.5336, allocations: 4.729 MB / 0.6581 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.5341, allocations: 227.3 kB / 0.6583 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.5344, allocations: 20 kB / 0.6584 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.5356, allocations: 108 kB / 0.6585 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000634/0.5362, allocations: 200.7 kB / 0.6587 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/0.5363, allocations: 24 kB / 0.6587 GB, free: 4.352 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001105/0.5374, allocations: 0.7274 MB / 0.6594 GB, free: 3.617 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5374, allocations: 0 / 0.6594 GB, free: 3.617 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001402/0.5388, allocations: 475.5 kB / 0.6598 GB, free: 3.152 MB / 462.1 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002858/0.5391, allocations: 144 kB / 0.66 GB, free: 3.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006598/0.5457, allocations: 2.54 MB / 0.6625 GB, free: 436 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5458, allocations: 0 / 0.6625 GB, free: 436 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.5501, allocations: 1.582 MB / 0.664 GB, free: 14.81 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.5511, allocations: 114.6 kB / 0.6641 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.5552, allocations: 2.73 MB / 0.6668 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.5558, allocations: 1.12 MB / 0.6679 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.5562, allocations: 83.42 kB / 0.668 GB, free: 10.7 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5562, allocations: 0 / 0.668 GB, free: 10.7 MB / 478.1 MB Notification: Performance of Templates: time 0.0263/0.5825, allocations: 23.39 MB / 0.6908 GB, free: 3.32 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)