Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.328/1.328, allocations: 223.3 MB / 239 MB, free: 5.426 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.001031/0.001031, allocations: 184.5 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4983/0.4983, allocations: 91.92 MB / 433.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 11.98 kB / 0.5042 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3063, allocations: 72.47 MB / 0.5749 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004167/0.3105, allocations: 5.702 MB / 0.5805 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.3132, allocations: 1.826 MB / 0.5823 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003893/0.3136, allocations: 8.5 kB / 0.5823 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.3139, allocations: 143.5 kB / 0.5824 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3152, allocations: 0.6297 MB / 0.583 GB, free: 30.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3162, allocations: 0.5045 MB / 0.5835 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.3174, allocations: 1.243 MB / 0.5848 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.3178, allocations: 227.2 kB / 0.585 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.3182, allocations: 0.4974 MB / 0.5855 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.3188, allocations: 0.6741 MB / 0.5861 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.3189, allocations: 54.66 kB / 0.5862 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.3192, allocations: 182.8 kB / 0.5863 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.3194, allocations: 229.9 kB / 0.5866 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.3195, allocations: 214.8 kB / 0.5868 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006954/0.3202, allocations: 1.087 MB / 0.5878 GB, free: 28.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3202, allocations: 0 / 0.5878 GB, free: 28.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3202, allocations: 2.688 kB / 0.5878 GB, free: 28.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.3203, allocations: 0 / 0.5878 GB, free: 28.89 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006536/0.3268, allocations: 2.312 MB / 0.5901 GB, free: 27.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3269, allocations: 9 kB / 0.5901 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004881/0.3317, allocations: 0.776 MB / 0.5909 GB, free: 27.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.333, allocations: 0.7512 MB / 0.5916 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.3333, allocations: 266.8 kB / 0.5918 GB, free: 26.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.3335, allocations: 77.94 kB / 0.5919 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.3357, allocations: 1.247 MB / 0.5931 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3357, allocations: 3.938 kB / 0.5931 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.3358, allocations: 26.31 kB / 0.5932 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.3358, allocations: 17 kB / 0.5932 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.3378, allocations: 1.018 MB / 0.5942 GB, free: 26.14 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.005998/0.3438, allocations: 3.651 MB / 0.5977 GB, free: 23.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/0.3511, allocations: 2.85 MB / 0.6005 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.3526, allocations: 0.7186 MB / 0.6012 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.3528, allocations: 21.39 kB / 0.6012 GB, free: 22.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3528, allocations: 42.78 kB / 0.6013 GB, free: 22.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.805e-06/0.3528, allocations: 3.938 kB / 0.6013 GB, free: 22.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02699/0.3798, allocations: 8.406 MB / 0.6095 GB, free: 21.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.3799, allocations: 98.81 kB / 0.6096 GB, free: 21.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.3816, allocations: 0.9516 MB / 0.6105 GB, free: 20.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.3818, allocations: 45.39 kB / 0.6106 GB, free: 20.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.3821, allocations: 455.5 kB / 0.611 GB, free: 20.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/0.3825, allocations: 319.1 kB / 0.6113 GB, free: 20.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3826, allocations: 28.69 kB / 0.6113 GB, free: 20.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.3827, allocations: 364.2 kB / 0.6117 GB, free: 19.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.3842, allocations: 0.7466 MB / 0.6124 GB, free: 19.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.3858, allocations: 0.9737 MB / 0.6134 GB, free: 19.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.3874, allocations: 0.8392 MB / 0.6142 GB, free: 18.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.3875, allocations: 1.375 kB / 0.6142 GB, free: 18.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01259/0.4001, allocations: 4.923 MB / 0.619 GB, free: 16.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.4001, allocations: 8 kB / 0.619 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.4002, allocations: 7.984 kB / 0.619 GB, free: 16.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004978/0.4051, allocations: 1.876 MB / 0.6208 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.4063, allocations: 255.6 kB / 0.6211 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.4227, allocations: 8.769 MB / 0.6296 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.4243, allocations: 202.8 kB / 0.6298 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.4245, allocations: 55.97 kB / 0.6299 GB, free: 4.859 MB / 430.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005557/0.4251, allocations: 264.6 kB / 0.6301 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009617/0.426, allocations: 360.3 kB / 0.6305 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.4367, allocations: 4.416 MB / 0.6348 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.4367, allocations: 11.95 kB / 0.6348 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.4368, allocations: 11.94 kB / 0.6348 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.4368, allocations: 3.984 kB / 0.6348 GB, free: 15.78 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.01533/0.4521, allocations: 5.981 MB / 0.6407 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.4522, allocations: 0 / 0.6407 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.4528, allocations: 103.9 kB / 0.6408 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005591/0.4584, allocations: 1.871 MB / 0.6426 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.4586, allocations: 16 kB / 0.6426 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.4777, allocations: 10.8 MB / 0.6531 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4778, allocations: 4 kB / 0.6532 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.4922, allocations: 5.511 MB / 0.6585 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/0.4928, allocations: 227.3 kB / 0.6587 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.4931, allocations: 16 kB / 0.6588 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.4943, allocations: 119.9 kB / 0.6589 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/0.4948, allocations: 176.6 kB / 0.659 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.423e-05/0.4949, allocations: 23.98 kB / 0.6591 GB, free: 6.453 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009256/0.4959, allocations: 0.6356 MB / 0.6597 GB, free: 5.809 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4959, allocations: 4 kB / 0.6597 GB, free: 5.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001498/0.4974, allocations: 435.7 kB / 0.6601 GB, free: 5.379 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002785/0.4977, allocations: 123.2 kB / 0.6602 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006164/0.5038, allocations: 2.584 MB / 0.6628 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5039, allocations: 1.375 kB / 0.6628 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003916/0.5078, allocations: 1.536 MB / 0.6643 GB, free: 1.098 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.5092, allocations: 359.6 kB / 0.6646 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.5133, allocations: 2.445 MB / 0.667 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.514, allocations: 1.077 MB / 0.668 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000407/0.5144, allocations: 99.31 kB / 0.6681 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.5147, allocations: 71.42 kB / 0.6682 GB, free: 12.99 MB / 478.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5147, allocations: 0 / 0.6682 GB, free: 12.99 MB / 478.1 MB Notification: Performance of Templates: time 0.03149/0.5462, allocations: 19.28 MB / 0.687 GB, free: 9.719 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)