Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0009038/0.0009038, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.444/1.444, allocations: 223.3 MB / 239.4 MB, free: 5.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.001093/0.001093, allocations: 180.5 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4964/0.4964, allocations: 78.55 MB / 420.3 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004067, allocations: 12 kB / 0.4887 GB, free: 6.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1484, allocations: 69.37 MB / 0.5564 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2649/0.4133, allocations: 6.48 MB / 0.5627 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.4187, allocations: 2.044 MB / 0.5647 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.4202, allocations: 11.81 kB / 0.5647 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009478/0.4211, allocations: 192.3 kB / 0.5649 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.4232, allocations: 0.6687 MB / 0.5656 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.4246, allocations: 0.6156 MB / 0.5662 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.4263, allocations: 1.55 MB / 0.5677 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.4268, allocations: 300.3 kB / 0.568 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007192/0.4275, allocations: 0.5855 MB / 0.5685 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007231/0.4282, allocations: 0.73 MB / 0.5693 GB, free: 34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.4284, allocations: 59.03 kB / 0.5693 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.4289, allocations: 188.8 kB / 0.5695 GB, free: 34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.4291, allocations: 256.5 kB / 0.5697 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004609/0.4296, allocations: 0.623 MB / 0.5703 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.4309, allocations: 1.587 MB / 0.5719 GB, free: 33.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4309, allocations: 4.125 kB / 0.5719 GB, free: 33.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4309, allocations: 0 / 0.5719 GB, free: 33.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.431, allocations: 0 / 0.5719 GB, free: 33.26 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.008182/0.4392, allocations: 2.579 MB / 0.5744 GB, free: 32.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4392, allocations: 8.75 kB / 0.5744 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/0.4442, allocations: 0.7982 MB / 0.5752 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.4459, allocations: 0.8839 MB / 0.5761 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.4462, allocations: 268 kB / 0.5763 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.4464, allocations: 88.19 kB / 0.5764 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.4487, allocations: 1.243 MB / 0.5776 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.4488, allocations: 0 / 0.5776 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.4489, allocations: 31.53 kB / 0.5777 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.4489, allocations: 19.31 kB / 0.5777 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.4514, allocations: 1.154 MB / 0.5788 GB, free: 31.49 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.006167/0.4576, allocations: 3.734 MB / 0.5824 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.4598, allocations: 1.626 MB / 0.584 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.4613, allocations: 0.8492 MB / 0.5849 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-05/0.4614, allocations: 21.77 kB / 0.5849 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.4633, allocations: 0.9586 MB / 0.5858 GB, free: 28.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.066e-06/0.4633, allocations: 0 / 0.5858 GB, free: 28.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.03022/0.4936, allocations: 8.523 MB / 0.5941 GB, free: 26.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.4937, allocations: 117.9 kB / 0.5943 GB, free: 26.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.4962, allocations: 1.036 MB / 0.5953 GB, free: 26.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003594/0.4966, allocations: 43.08 kB / 0.5953 GB, free: 26.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.4971, allocations: 0.5036 MB / 0.5958 GB, free: 25.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006534/0.4978, allocations: 374.2 kB / 0.5962 GB, free: 25.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004314/0.4982, allocations: 128.9 kB / 0.5963 GB, free: 25.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4984, allocations: 355 kB / 0.5966 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.5006, allocations: 0.8304 MB / 0.5974 GB, free: 24.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.5028, allocations: 0.9784 MB / 0.5984 GB, free: 24.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02401/0.5268, allocations: 5.907 MB / 0.6042 GB, free: 22.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.5269, allocations: 1.031 kB / 0.6042 GB, free: 22.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01827/0.5452, allocations: 5.402 MB / 0.6094 GB, free: 21.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.476e-05/0.5453, allocations: 60.42 kB / 0.6095 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.5453, allocations: 2.906 kB / 0.6095 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007864/0.5532, allocations: 2.178 MB / 0.6116 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.5546, allocations: 246.8 kB / 0.6119 GB, free: 20.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.5762, allocations: 9.71 MB / 0.6213 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.579, allocations: 239.8 kB / 0.6216 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/0.5794, allocations: 47.98 kB / 0.6216 GB, free: 10.64 MB / 430.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.001202/0.5807, allocations: 293.7 kB / 0.6219 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006334/0.5813, allocations: 127.5 kB / 0.622 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/0.596, allocations: 5.103 MB / 0.627 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.596, allocations: 12 kB / 0.627 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5961, allocations: 0 / 0.627 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/0.5961, allocations: 4.734 kB / 0.627 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/0.6137, allocations: 6.884 MB / 0.6337 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/0.6138, allocations: 7.969 kB / 0.6337 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008501/0.6146, allocations: 112.7 kB / 0.6338 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007024/0.6217, allocations: 2.132 MB / 0.6359 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002965/0.622, allocations: 24 kB / 0.636 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/0.6456, allocations: 10.29 MB / 0.646 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6457, allocations: 0 / 0.646 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/0.6648, allocations: 6.111 MB / 0.652 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.6655, allocations: 219.2 kB / 0.6522 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004725/0.666, allocations: 24 kB / 0.6522 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.6676, allocations: 152.8 kB / 0.6523 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007593/0.6684, allocations: 207.3 kB / 0.6525 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.6685, allocations: 28 kB / 0.6526 GB, free: 10.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00124/0.6698, allocations: 0.7071 MB / 0.6533 GB, free: 9.715 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.844e-06/0.6698, allocations: 96 / 0.6533 GB, free: 9.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001885/0.6717, allocations: 487.5 kB / 0.6537 GB, free: 9.238 MB / 462.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.000342/0.672, allocations: 139.1 kB / 0.6539 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008254/0.6803, allocations: 2.927 MB / 0.6567 GB, free: 6.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6803, allocations: 0 / 0.6567 GB, free: 6.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006091/0.6864, allocations: 1.978 MB / 0.6586 GB, free: 4.125 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.6888, allocations: 122.1 kB / 0.6588 GB, free: 4.008 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.6948, allocations: 2.895 MB / 0.6616 GB, free: 1.133 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.6957, allocations: 1.133 MB / 0.6627 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005847/0.6963, allocations: 108.2 kB / 0.6628 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.6967, allocations: 67.42 kB / 0.6629 GB, free: 15.8 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6967, allocations: 3.938 kB / 0.6629 GB, free: 15.79 MB / 478.1 MB Notification: Performance of Templates: time 0.04203/0.7387, allocations: 23.33 MB / 0.6857 GB, free: 8.629 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) Environment - environmentSimulation: