Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006929/0.006929, allocations: 100.3 kB / 15.87 MB, free: 6.332 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.371/1.371, allocations: 222.9 MB / 239.5 MB, free: 4.754 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.001398/0.001398, allocations: 184.5 kB / 289.8 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5379/0.5379, allocations: 91.9 MB / 431.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 75.89 kB / 0.5019 GB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3728, allocations: 71.27 MB / 0.5714 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005697/0.3786, allocations: 7.024 MB / 0.5783 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.3821, allocations: 2.051 MB / 0.5803 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000503/0.3826, allocations: 16.66 kB / 0.5803 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.3833, allocations: 191.8 kB / 0.5805 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.3848, allocations: 0.7454 MB / 0.5812 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3859, allocations: 0.5974 MB / 0.5818 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.3869, allocations: 1.579 MB / 0.5834 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.3873, allocations: 293 kB / 0.5836 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.3878, allocations: 0.6174 MB / 0.5842 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.3885, allocations: 0.8279 MB / 0.5851 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.3886, allocations: 75.25 kB / 0.5851 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.3891, allocations: 212.4 kB / 0.5853 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.3893, allocations: 289.1 kB / 0.5856 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004096/0.3897, allocations: 0.6454 MB / 0.5862 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.3906, allocations: 1.312 MB / 0.5875 GB, free: 27.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3906, allocations: 0 / 0.5875 GB, free: 27.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3906, allocations: 5.156 kB / 0.5875 GB, free: 27.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3907, allocations: 0 / 0.5875 GB, free: 27.58 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008828/0.3995, allocations: 2.782 MB / 0.5902 GB, free: 26.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3996, allocations: 11.75 kB / 0.5902 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/0.4045, allocations: 0.7812 MB / 0.591 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.406, allocations: 0.9143 MB / 0.5919 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.4063, allocations: 259.3 kB / 0.5922 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.4065, allocations: 92.8 kB / 0.5922 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.4086, allocations: 1.114 MB / 0.5933 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.4086, allocations: 0 / 0.5933 GB, free: 24.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.4087, allocations: 31.03 kB / 0.5934 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.4087, allocations: 17.59 kB / 0.5934 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.4108, allocations: 1.006 MB / 0.5944 GB, free: 24.47 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.006467/0.4172, allocations: 3.919 MB / 0.5982 GB, free: 22.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00791/0.4252, allocations: 2.406 MB / 0.6005 GB, free: 21.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.4266, allocations: 0.693 MB / 0.6012 GB, free: 21.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.4268, allocations: 20.69 kB / 0.6012 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/0.4285, allocations: 0.8341 MB / 0.602 GB, free: 20.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.695e-06/0.4285, allocations: 0 / 0.602 GB, free: 20.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02948/0.458, allocations: 7.094 MB / 0.609 GB, free: 19.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4581, allocations: 115.3 kB / 0.6091 GB, free: 19.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.46, allocations: 1.144 MB / 0.6102 GB, free: 18.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.4603, allocations: 47.77 kB / 0.6102 GB, free: 18.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.4606, allocations: 0.4955 MB / 0.6107 GB, free: 18.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.4609, allocations: 364.7 kB / 0.6111 GB, free: 18.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005295/0.4615, allocations: 299.2 kB / 0.6114 GB, free: 17.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.4615, allocations: 301.8 kB / 0.6116 GB, free: 17.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.4631, allocations: 0.7983 MB / 0.6124 GB, free: 17.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.4649, allocations: 0.9774 MB / 0.6134 GB, free: 16.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02491/0.4898, allocations: 5.923 MB / 0.6192 GB, free: 13.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.4899, allocations: 0 / 0.6192 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01285/0.5028, allocations: 4.512 MB / 0.6236 GB, free: 8.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/0.5029, allocations: 67.39 kB / 0.6236 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.5029, allocations: 0 / 0.6236 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00577/0.5087, allocations: 1.666 MB / 0.6253 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.5103, allocations: 295.6 kB / 0.6255 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01784/0.5281, allocations: 7.943 MB / 0.6333 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.5305, allocations: 202.6 kB / 0.6335 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.5307, allocations: 59.97 kB / 0.6336 GB, free: 14.46 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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.0006837/0.5314, allocations: 300.1 kB / 0.6338 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.5317, allocations: 142.4 kB / 0.634 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.5446, allocations: 3.92 MB / 0.6378 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.5447, allocations: 12 kB / 0.6378 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.5447, allocations: 8 kB / 0.6378 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/0.5447, allocations: 3.984 kB / 0.6378 GB, free: 10.04 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.01517/0.5599, allocations: 5.552 MB / 0.6432 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.56, allocations: 0 / 0.6432 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007849/0.5608, allocations: 107.8 kB / 0.6434 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00548/0.5663, allocations: 1.595 MB / 0.6449 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.5665, allocations: 19.98 kB / 0.6449 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.5857, allocations: 8.789 MB / 0.6535 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5858, allocations: 4 kB / 0.6535 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/0.6006, allocations: 4.799 MB / 0.6582 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.6012, allocations: 231.2 kB / 0.6584 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.6014, allocations: 23.98 kB / 0.6584 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.6027, allocations: 103.9 kB / 0.6585 GB, free: 4.363 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006318/0.6033, allocations: 208.5 kB / 0.6587 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/0.6034, allocations: 23.98 kB / 0.6588 GB, free: 4.137 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.6046, allocations: 0.7714 MB / 0.6595 GB, free: 3.359 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6046, allocations: 3.938 kB / 0.6595 GB, free: 3.355 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00145/0.606, allocations: 487.5 kB / 0.66 GB, free: 2.879 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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.0002996/0.6064, allocations: 140.3 kB / 0.6601 GB, free: 2.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006767/0.6131, allocations: 2.616 MB / 0.6627 GB, free: 80 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6132, allocations: 0 / 0.6627 GB, free: 80 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004386/0.6176, allocations: 1.623 MB / 0.6643 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.6188, allocations: 108.5 kB / 0.6644 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.6234, allocations: 2.921 MB / 0.6672 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.6241, allocations: 1.132 MB / 0.6683 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.6245, allocations: 83.41 kB / 0.6684 GB, free: 10.12 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6245, allocations: 0 / 0.6684 GB, free: 10.12 MB / 478.1 MB Notification: Performance of Templates: time 0.0299/0.6544, allocations: 24.19 MB / 0.692 GB, free: 1.938 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)