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.001228/0.001228, allocations: 118.6 kB / 16.37 MB, free: 5.984 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.259/1.259, allocations: 222.9 MB / 240 MB, free: 4.527 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.001203/0.001203, allocations: 192.5 kB / 290.3 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4765/0.4765, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 75.88 kB / 0.5033 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3287, allocations: 71.27 MB / 0.5729 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005519/0.3343, allocations: 6.64 MB / 0.5794 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.3375, allocations: 2.034 MB / 0.5814 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.338, allocations: 11.75 kB / 0.5814 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.3386, allocations: 246.5 kB / 0.5816 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.34, allocations: 0.7614 MB / 0.5823 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3411, allocations: 0.6732 MB / 0.583 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.3423, allocations: 1.642 MB / 0.5846 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.3427, allocations: 344.2 kB / 0.5849 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005953/0.3433, allocations: 0.6675 MB / 0.5856 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.3439, allocations: 0.8135 MB / 0.5864 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.3441, allocations: 126.5 kB / 0.5865 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.3445, allocations: 260.5 kB / 0.5868 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.3447, allocations: 332.4 kB / 0.5871 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.3452, allocations: 0.6779 MB / 0.5877 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.3464, allocations: 1.699 MB / 0.5894 GB, free: 27.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3465, allocations: 0 / 0.5894 GB, free: 27.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3465, allocations: 3.562 kB / 0.5894 GB, free: 27.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.3465, allocations: 0 / 0.5894 GB, free: 27.39 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.007872/0.3544, allocations: 2.753 MB / 0.5921 GB, free: 26.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3544, allocations: 9 kB / 0.5921 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004681/0.3591, allocations: 0.7878 MB / 0.5929 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.3605, allocations: 0.8911 MB / 0.5937 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.3607, allocations: 258.2 kB / 0.594 GB, free: 25.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.3609, allocations: 92.06 kB / 0.5941 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.3628, allocations: 1.175 MB / 0.5952 GB, free: 24.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.3629, allocations: 0 / 0.5952 GB, free: 24.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/0.363, allocations: 35.03 kB / 0.5952 GB, free: 24.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.363, allocations: 19.72 kB / 0.5953 GB, free: 24.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.365, allocations: 1.072 MB / 0.5963 GB, free: 24.26 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.005874/0.3709, allocations: 3.657 MB / 0.5999 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.3731, allocations: 1.552 MB / 0.6014 GB, free: 21.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.3746, allocations: 0.7827 MB / 0.6022 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.3747, allocations: 24.36 kB / 0.6022 GB, free: 20.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/0.3765, allocations: 0.8899 MB / 0.6031 GB, free: 20.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.306e-06/0.3765, allocations: 0 / 0.6031 GB, free: 20.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02515/0.4016, allocations: 6.956 MB / 0.6099 GB, free: 19.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.4017, allocations: 119.1 kB / 0.61 GB, free: 18.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.4034, allocations: 1.028 MB / 0.611 GB, free: 18.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000239/0.4036, allocations: 46.44 kB / 0.611 GB, free: 18.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.4039, allocations: 0.5038 MB / 0.6115 GB, free: 18.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/0.4043, allocations: 370.4 kB / 0.6119 GB, free: 17.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00046/0.4047, allocations: 248 kB / 0.6121 GB, free: 17.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.4048, allocations: 353.8 kB / 0.6124 GB, free: 17.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.4064, allocations: 0.7667 MB / 0.6132 GB, free: 17.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.408, allocations: 0.9189 MB / 0.6141 GB, free: 16.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01926/0.4273, allocations: 5.421 MB / 0.6194 GB, free: 13.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.4274, allocations: 1.5 kB / 0.6194 GB, free: 13.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01202/0.4394, allocations: 4.507 MB / 0.6238 GB, free: 9.754 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.4394, allocations: 59.41 kB / 0.6238 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4395, allocations: 4 kB / 0.6238 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005592/0.4451, allocations: 1.862 MB / 0.6257 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.4463, allocations: 243.7 kB / 0.6259 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/0.4645, allocations: 9.461 MB / 0.6351 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.4664, allocations: 190.8 kB / 0.6353 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.4666, allocations: 51.98 kB / 0.6354 GB, free: 13.73 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.0005535/0.4671, allocations: 300 kB / 0.6356 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.4674, allocations: 122.5 kB / 0.6358 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.4796, allocations: 4.2 MB / 0.6399 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4796, allocations: 8 kB / 0.6399 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4796, allocations: 0 / 0.6399 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.4797, allocations: 19.91 kB / 0.6399 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.4942, allocations: 5.961 MB / 0.6457 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.4942, allocations: 3.938 kB / 0.6457 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.495, allocations: 107.8 kB / 0.6458 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005595/0.5006, allocations: 1.828 MB / 0.6476 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/0.5008, allocations: 20 kB / 0.6476 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01984/0.5207, allocations: 10.3 MB / 0.6577 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5207, allocations: 3.938 kB / 0.6577 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.5347, allocations: 5.136 MB / 0.6627 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/0.5352, allocations: 223.2 kB / 0.6629 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.5354, allocations: 23.94 kB / 0.6629 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5366, allocations: 119.9 kB / 0.663 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000613/0.5372, allocations: 212.7 kB / 0.6633 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.483e-05/0.5373, allocations: 28 kB / 0.6633 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009724/0.5383, allocations: 0.7032 MB / 0.664 GB, free: 15.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5383, allocations: 0 / 0.664 GB, free: 15.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001277/0.5396, allocations: 479.5 kB / 0.6644 GB, free: 15.41 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.000249/0.5398, allocations: 143.7 kB / 0.6646 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006463/0.5463, allocations: 2.682 MB / 0.6672 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5463, allocations: 0 / 0.6672 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004533/0.5509, allocations: 1.799 MB / 0.6689 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.5519, allocations: 110.2 kB / 0.669 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.5559, allocations: 2.343 MB / 0.6713 GB, free: 8.223 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.5565, allocations: 1.128 MB / 0.6724 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.5569, allocations: 107.9 kB / 0.6725 GB, free: 6.957 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.5571, allocations: 71.42 kB / 0.6726 GB, free: 6.887 MB / 478.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5571, allocations: 0 / 0.6726 GB, free: 6.887 MB / 478.1 MB Notification: Performance of Templates: time 0.03993/0.5971, allocations: 26.38 MB / 0.6984 GB, free: 12.54 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 cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)