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.001275/0.001275, allocations: 104.1 kB / 16.29 MB, free: 6.43 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.66 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.001257/0.001257, allocations: 200.4 kB / 290.2 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4618/0.4618, allocations: 78.52 MB / 418.9 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 75.88 kB / 498.2 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1309, allocations: 68.19 MB / 0.5531 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2382/0.3691, allocations: 6.604 MB / 0.5595 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004357/0.3735, allocations: 2.026 MB / 0.5615 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.3754, allocations: 13.12 kB / 0.5615 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3765, allocations: 241.2 kB / 0.5617 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.379, allocations: 0.7643 MB / 0.5625 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.3805, allocations: 0.6615 MB / 0.5631 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3823, allocations: 1.635 MB / 0.5647 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.3828, allocations: 344.4 kB / 0.5651 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008041/0.3836, allocations: 0.6711 MB / 0.5657 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.3843, allocations: 0.8188 MB / 0.5665 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.3845, allocations: 123.4 kB / 0.5666 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.385, allocations: 261.4 kB / 0.5669 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.3853, allocations: 325.5 kB / 0.5672 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004717/0.3857, allocations: 0.6759 MB / 0.5679 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.3871, allocations: 1.693 MB / 0.5695 GB, free: 33.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3871, allocations: 4.75 kB / 0.5695 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3871, allocations: 2.969 kB / 0.5695 GB, free: 33.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.3872, allocations: 0.9375 kB / 0.5695 GB, free: 33.62 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.008234/0.3954, allocations: 2.763 MB / 0.5722 GB, free: 32.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3955, allocations: 9.156 kB / 0.5722 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.4003, allocations: 0.7848 MB / 0.573 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.4019, allocations: 0.8905 MB / 0.5739 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.4021, allocations: 251.8 kB / 0.5741 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.4023, allocations: 87.55 kB / 0.5742 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.4044, allocations: 1.175 MB / 0.5753 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.4044, allocations: 0 / 0.5753 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.815e-05/0.4045, allocations: 31.69 kB / 0.5754 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.4045, allocations: 21 kB / 0.5754 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.4065, allocations: 1.076 MB / 0.5764 GB, free: 31.85 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.005487/0.412, allocations: 3.666 MB / 0.58 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.4141, allocations: 1.543 MB / 0.5815 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.4154, allocations: 0.7815 MB / 0.5823 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.315e-05/0.4155, allocations: 16.8 kB / 0.5823 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/0.4172, allocations: 0.9 MB / 0.5832 GB, free: 28.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.005e-06/0.4172, allocations: 0 / 0.5832 GB, free: 28.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02649/0.4437, allocations: 6.95 MB / 0.59 GB, free: 27.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.4438, allocations: 119.9 kB / 0.5901 GB, free: 27.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.4459, allocations: 1.027 MB / 0.5911 GB, free: 26.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003319/0.4462, allocations: 46.92 kB / 0.5911 GB, free: 26.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.4467, allocations: 0.508 MB / 0.5916 GB, free: 26.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/0.4471, allocations: 369.3 kB / 0.592 GB, free: 25.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005419/0.4477, allocations: 251.8 kB / 0.5922 GB, free: 25.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4478, allocations: 358.8 kB / 0.5926 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.4495, allocations: 0.7587 MB / 0.5933 GB, free: 25.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.4512, allocations: 0.9159 MB / 0.5942 GB, free: 24.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02127/0.4725, allocations: 5.424 MB / 0.5995 GB, free: 23.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.4726, allocations: 5.688 kB / 0.5995 GB, free: 23.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01518/0.4878, allocations: 4.499 MB / 0.6039 GB, free: 21.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/0.4879, allocations: 64.69 kB / 0.6039 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.488, allocations: 3 kB / 0.604 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007004/0.495, allocations: 1.856 MB / 0.6058 GB, free: 21.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.4965, allocations: 248.7 kB / 0.606 GB, free: 21.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/0.518, allocations: 9.466 MB / 0.6152 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.5201, allocations: 194.8 kB / 0.6154 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/0.5204, allocations: 47.98 kB / 0.6155 GB, free: 14.86 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.000835/0.5213, allocations: 293.2 kB / 0.6158 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.5217, allocations: 126.4 kB / 0.6159 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.5341, allocations: 4.198 MB / 0.62 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.5341, allocations: 12 kB / 0.62 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5341, allocations: 0 / 0.62 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/0.5342, allocations: 11.91 kB / 0.62 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.5488, allocations: 5.964 MB / 0.6258 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.5489, allocations: 1.688 kB / 0.6258 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.5496, allocations: 111.9 kB / 0.6259 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005618/0.5553, allocations: 1.82 MB / 0.6277 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/0.5555, allocations: 24 kB / 0.6277 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/0.5768, allocations: 10.31 MB / 0.6378 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5768, allocations: 0 / 0.6378 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/0.5931, allocations: 5.139 MB / 0.6428 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/0.5937, allocations: 219.2 kB / 0.643 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000452/0.5941, allocations: 20 kB / 0.643 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.5957, allocations: 120.6 kB / 0.6432 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000782/0.5965, allocations: 212.7 kB / 0.6434 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.5966, allocations: 28 kB / 0.6434 GB, free: 1.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.5979, allocations: 0.6993 MB / 0.6441 GB, free: 1.043 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5979, allocations: 0 / 0.6441 GB, free: 1.043 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001886/0.5998, allocations: 487.5 kB / 0.6445 GB, free: 0.5664 MB / 446.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.0003555/0.6002, allocations: 133.6 kB / 0.6447 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00722/0.6074, allocations: 2.689 MB / 0.6473 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6075, allocations: 0 / 0.6473 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00495/0.6124, allocations: 1.799 MB / 0.649 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.6139, allocations: 110.2 kB / 0.6491 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.6191, allocations: 2.347 MB / 0.6514 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009443/0.6201, allocations: 1.128 MB / 0.6525 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005212/0.6206, allocations: 111.5 kB / 0.6526 GB, free: 8.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.621, allocations: 71.42 kB / 0.6527 GB, free: 8.109 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.621, allocations: 0 / 0.6527 GB, free: 8.109 MB / 462.1 MB Notification: Performance of Templates: time 0.04411/0.6651, allocations: 26.38 MB / 0.6785 GB, free: 13.92 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)