Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 177.6 kB / 16.07 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.8 MB / 239.7 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007548/0.0007549, allocations: 107.6 kB / 290.5 MB, free: 11.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4196/0.4196, allocations: 78.43 MB / 419.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 16 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2692, allocations: 68.75 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.0053/0.2745, allocations: 7.004 MB / 0.5613 GB, free: 13.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.278, allocations: 2.06 MB / 0.5634 GB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000826/0.2788, allocations: 16 kB / 0.5634 GB, free: 11.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.2795, allocations: 190.8 kB / 0.5636 GB, free: 10.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.2812, allocations: 0.7246 MB / 0.5643 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009927/0.2822, allocations: 0.6068 MB / 0.5649 GB, free: 9.598 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.2832, allocations: 1.585 MB / 0.5664 GB, free: 8.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.2835, allocations: 285.4 kB / 0.5667 GB, free: 7.715 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005253/0.2841, allocations: 0.5948 MB / 0.5673 GB, free: 7.117 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.2846, allocations: 0.7932 MB / 0.568 GB, free: 6.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.2848, allocations: 64 kB / 0.5681 GB, free: 6.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.2852, allocations: 191.9 kB / 0.5683 GB, free: 6.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.2853, allocations: 282.5 kB / 0.5685 GB, free: 5.793 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.2857, allocations: 0.6171 MB / 0.5691 GB, free: 5.172 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007617/0.2865, allocations: 1.28 MB / 0.5704 GB, free: 3.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2865, allocations: 0 / 0.5704 GB, free: 3.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2865, allocations: 0 / 0.5704 GB, free: 3.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.2865, allocations: 3.938 kB / 0.5704 GB, free: 3.887 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007521/0.294, allocations: 2.513 MB / 0.5729 GB, free: 1.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2941, allocations: 12.02 kB / 0.5729 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/0.299, allocations: 0.7787 MB / 0.5736 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.3006, allocations: 0.9259 MB / 0.5745 GB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.3009, allocations: 260.2 kB / 0.5748 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.3011, allocations: 91.91 kB / 0.5749 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.3032, allocations: 1.11 MB / 0.576 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3032, allocations: 0 / 0.576 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.3033, allocations: 32 kB / 0.576 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.3034, allocations: 16 kB / 0.576 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.3054, allocations: 1.003 MB / 0.577 GB, free: 12.98 MB / 394.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.00697/0.3123, allocations: 3.926 MB / 0.5808 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007078/0.3194, allocations: 2.41 MB / 0.5832 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.3209, allocations: 0.6893 MB / 0.5838 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.321, allocations: 24.91 kB / 0.5839 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.3226, allocations: 0.8412 MB / 0.5847 GB, free: 4.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 3.236e-06/0.3226, allocations: 0 / 0.5847 GB, free: 4.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02695/0.3496, allocations: 7.081 MB / 0.5916 GB, free: 13.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.3497, allocations: 119.8 kB / 0.5917 GB, free: 13.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.3513, allocations: 1.135 MB / 0.5928 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.3515, allocations: 45.7 kB / 0.5929 GB, free: 12.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.3519, allocations: 0.5047 MB / 0.5934 GB, free: 11.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.3523, allocations: 366.9 kB / 0.5937 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.3525, allocations: 149.6 kB / 0.5938 GB, free: 11.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.3526, allocations: 301.1 kB / 0.5941 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.3541, allocations: 0.8004 MB / 0.5949 GB, free: 10.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.3558, allocations: 0.9655 MB / 0.5959 GB, free: 9.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0243/0.3801, allocations: 5.924 MB / 0.6016 GB, free: 3.168 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.3802, allocations: 4 kB / 0.6016 GB, free: 3.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01342/0.3936, allocations: 4.508 MB / 0.6061 GB, free: 14.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.3937, allocations: 59.39 kB / 0.6061 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.3938, allocations: 4 kB / 0.6061 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006027/0.3998, allocations: 1.662 MB / 0.6077 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.4014, allocations: 303.5 kB / 0.608 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/0.4199, allocations: 7.937 MB / 0.6158 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.4219, allocations: 214.5 kB / 0.616 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.4221, allocations: 59.97 kB / 0.616 GB, free: 4.234 MB / 426.7 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.0006604/0.4227, allocations: 308.1 kB / 0.6163 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.423, allocations: 126.4 kB / 0.6165 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.4354, allocations: 3.92 MB / 0.6203 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.4354, allocations: 8 kB / 0.6203 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.4355, allocations: 8 kB / 0.6203 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/0.4355, allocations: 3.984 kB / 0.6203 GB, free: 15.82 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.01404/0.4496, allocations: 5.551 MB / 0.6257 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.4496, allocations: 11.97 kB / 0.6257 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/0.4503, allocations: 99.89 kB / 0.6258 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005118/0.4554, allocations: 1.59 MB / 0.6274 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.4556, allocations: 27.98 kB / 0.6274 GB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.4732, allocations: 8.773 MB / 0.636 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4732, allocations: 0 / 0.636 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/0.4871, allocations: 4.815 MB / 0.6407 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.4876, allocations: 227.2 kB / 0.6409 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.4878, allocations: 23.98 kB / 0.6409 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.4889, allocations: 107.9 kB / 0.641 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005461/0.4895, allocations: 192.6 kB / 0.6412 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.4896, allocations: 27.98 kB / 0.6412 GB, free: 9.938 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.4906, allocations: 0.7752 MB / 0.642 GB, free: 9.156 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4906, allocations: 0 / 0.642 GB, free: 9.156 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001267/0.4919, allocations: 487.6 kB / 0.6425 GB, free: 8.68 MB / 458.7 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.0002502/0.4922, allocations: 140 kB / 0.6426 GB, free: 8.531 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006115/0.4983, allocations: 2.629 MB / 0.6452 GB, free: 5.863 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4983, allocations: 0 / 0.6452 GB, free: 5.863 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004127/0.5025, allocations: 1.615 MB / 0.6467 GB, free: 4.207 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.5035, allocations: 116.5 kB / 0.6468 GB, free: 4.094 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.5076, allocations: 2.908 MB / 0.6497 GB, free: 1.156 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.5082, allocations: 1.132 MB / 0.6508 GB, free: 15.99 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.5086, allocations: 87.41 kB / 0.6509 GB, free: 15.91 MB / 474.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5086, allocations: 0 / 0.6509 GB, free: 15.91 MB / 474.7 MB Notification: Performance of Templates: time 0.02676/0.5353, allocations: 24.07 MB / 0.6744 GB, free: 7.832 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)