Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 118.4 kB / 16.37 MB, free: 6 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.291/1.291, allocations: 222.9 MB / 240 MB, free: 4.516 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.001251/0.001251, allocations: 188.5 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4802/0.4802, allocations: 91.9 MB / 432.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 83.89 kB / 0.5033 GB, free: 7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2941, allocations: 71.25 MB / 0.5729 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005501/0.2997, allocations: 6.652 MB / 0.5794 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.3029, allocations: 2.023 MB / 0.5814 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.3034, allocations: 17.38 kB / 0.5814 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.3039, allocations: 245.8 kB / 0.5816 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.3054, allocations: 0.762 MB / 0.5824 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3065, allocations: 0.6699 MB / 0.583 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.3077, allocations: 1.637 MB / 0.5846 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.3081, allocations: 345 kB / 0.5849 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006394/0.3087, allocations: 0.6678 MB / 0.5856 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.3094, allocations: 0.8172 MB / 0.5864 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.3096, allocations: 124.7 kB / 0.5865 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.31, allocations: 261.4 kB / 0.5868 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.3102, allocations: 326.9 kB / 0.5871 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.3106, allocations: 0.6816 MB / 0.5877 GB, free: 28.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.3119, allocations: 1.693 MB / 0.5894 GB, free: 27.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3119, allocations: 4 kB / 0.5894 GB, free: 27.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3119, allocations: 0 / 0.5894 GB, free: 27.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.312, allocations: 0 / 0.5894 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.008299/0.3203, allocations: 2.762 MB / 0.5921 GB, free: 26.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3203, allocations: 12.47 kB / 0.5921 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/0.3253, allocations: 0.7788 MB / 0.5929 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.3269, allocations: 0.8952 MB / 0.5937 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.3271, allocations: 258.6 kB / 0.594 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.3273, allocations: 91.66 kB / 0.5941 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.3294, allocations: 1.174 MB / 0.5952 GB, free: 24.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.3295, allocations: 3.984 kB / 0.5952 GB, free: 24.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/0.3296, allocations: 30.72 kB / 0.5952 GB, free: 24.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3296, allocations: 19.91 kB / 0.5953 GB, free: 24.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.3317, allocations: 1.077 MB / 0.5963 GB, free: 24.44 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.006051/0.3378, allocations: 3.65 MB / 0.5999 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.34, allocations: 1.553 MB / 0.6014 GB, free: 21.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.3414, allocations: 0.7832 MB / 0.6022 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.3416, allocations: 16.39 kB / 0.6022 GB, free: 21.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.3433, allocations: 0.8862 MB / 0.603 GB, free: 20.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.457e-06/0.3433, allocations: 3.938 kB / 0.603 GB, free: 20.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02627/0.3696, allocations: 6.959 MB / 0.6098 GB, free: 19.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3697, allocations: 119 kB / 0.61 GB, free: 19.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.3712, allocations: 1.033 MB / 0.611 GB, free: 18.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.3714, allocations: 41.64 kB / 0.611 GB, free: 18.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.3717, allocations: 0.5036 MB / 0.6115 GB, free: 18.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.372, allocations: 371.1 kB / 0.6118 GB, free: 17.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.3725, allocations: 247.3 kB / 0.6121 GB, free: 17.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3726, allocations: 359.3 kB / 0.6124 GB, free: 17.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.3742, allocations: 0.7617 MB / 0.6132 GB, free: 17.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.3759, allocations: 0.9073 MB / 0.6141 GB, free: 16.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01958/0.3955, allocations: 5.422 MB / 0.6194 GB, free: 14.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3955, allocations: 1.438 kB / 0.6194 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01228/0.4078, allocations: 4.516 MB / 0.6238 GB, free: 9.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.4079, allocations: 59.39 kB / 0.6238 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4079, allocations: 8 kB / 0.6238 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005832/0.4137, allocations: 1.85 MB / 0.6256 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.415, allocations: 247.7 kB / 0.6259 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/0.4338, allocations: 9.478 MB / 0.6351 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.4358, allocations: 198.8 kB / 0.6353 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.436, allocations: 43.98 kB / 0.6354 GB, free: 13.78 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (139): * Single equations (assignments): 136 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006231/0.4366, allocations: 302.9 kB / 0.6356 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.4369, allocations: 122.5 kB / 0.6358 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.4498, allocations: 4.189 MB / 0.6399 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.4499, allocations: 12 kB / 0.6399 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4499, allocations: 0 / 0.6399 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.4499, allocations: 11.91 kB / 0.6399 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.4652, allocations: 5.969 MB / 0.6457 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.4652, allocations: 4 kB / 0.6457 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.466, allocations: 107.8 kB / 0.6458 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006039/0.4721, allocations: 1.824 MB / 0.6476 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/0.4723, allocations: 27.98 kB / 0.6476 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0212/0.4935, allocations: 10.29 MB / 0.6577 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.4936, allocations: 11.88 kB / 0.6577 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.5087, allocations: 5.136 MB / 0.6627 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.5093, allocations: 223.2 kB / 0.6629 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/0.5095, allocations: 19.94 kB / 0.6629 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.5108, allocations: 119.9 kB / 0.663 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006567/0.5115, allocations: 212.7 kB / 0.6632 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/0.5116, allocations: 27.98 kB / 0.6633 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.5127, allocations: 0.7033 MB / 0.664 GB, free: 15.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5127, allocations: 0 / 0.664 GB, free: 15.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001344/0.514, allocations: 483.5 kB / 0.6644 GB, free: 15.46 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002562/0.5143, allocations: 134.3 kB / 0.6646 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006736/0.5211, allocations: 2.686 MB / 0.6672 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5211, allocations: 0 / 0.6672 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004703/0.5258, allocations: 1.803 MB / 0.6689 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/0.5266, allocations: 114.2 kB / 0.669 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.5306, allocations: 2.343 MB / 0.6713 GB, free: 8.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.5313, allocations: 1.128 MB / 0.6724 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003827/0.5317, allocations: 111.9 kB / 0.6725 GB, free: 7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.532, allocations: 71.42 kB / 0.6726 GB, free: 6.93 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.532, allocations: 0 / 0.6726 GB, free: 6.93 MB / 478.1 MB Notification: Performance of Templates: time 0.03895/0.5709, allocations: 26.38 MB / 0.6984 GB, free: 12.59 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)