Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 177.8 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.3 MB / 239.5 MB, free: 15.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000734/0.0007337, allocations: 99.84 kB / 290.6 MB, free: 4.602 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4491/0.4491, allocations: 78.61 MB / 420.4 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 8 kB / 0.4888 GB, free: 6.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1193, allocations: 69.37 MB / 0.5565 GB, free: 1.402 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.00562/0.1249, allocations: 6.486 MB / 0.5629 GB, free: 10.88 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.1288, allocations: 2.036 MB / 0.5648 GB, free: 8.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007411/0.1296, allocations: 15.94 kB / 0.5649 GB, free: 8.824 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.1302, allocations: 190.8 kB / 0.565 GB, free: 8.637 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.1319, allocations: 0.6762 MB / 0.5657 GB, free: 7.957 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.1332, allocations: 0.6214 MB / 0.5663 GB, free: 7.344 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.135, allocations: 1.534 MB / 0.5678 GB, free: 5.805 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.1354, allocations: 317.8 kB / 0.5681 GB, free: 5.48 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007542/0.1362, allocations: 0.5831 MB / 0.5687 GB, free: 4.895 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007154/0.1369, allocations: 0.7269 MB / 0.5694 GB, free: 4.164 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.1371, allocations: 60 kB / 0.5695 GB, free: 4.105 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.1375, allocations: 187.9 kB / 0.5696 GB, free: 3.922 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.1377, allocations: 254.7 kB / 0.5699 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.1382, allocations: 0.6266 MB / 0.5705 GB, free: 3.035 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.1396, allocations: 1.591 MB / 0.572 GB, free: 1.438 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1396, allocations: 0 / 0.572 GB, free: 1.438 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1396, allocations: 0 / 0.572 GB, free: 1.438 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1396, allocations: 0 / 0.572 GB, free: 1.438 MB / 442.7 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.2249/0.3645, allocations: 2.577 MB / 0.5746 GB, free: 44.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3646, allocations: 9.156 kB / 0.5746 GB, free: 44.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/0.3693, allocations: 0.791 MB / 0.5753 GB, free: 44.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.3708, allocations: 0.8872 MB / 0.5762 GB, free: 44.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.371, allocations: 260.4 kB / 0.5765 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.3712, allocations: 91.45 kB / 0.5765 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3733, allocations: 1.244 MB / 0.5778 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.3733, allocations: 0 / 0.5778 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.3734, allocations: 30.25 kB / 0.5778 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.3734, allocations: 19.69 kB / 0.5778 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.3756, allocations: 1.148 MB / 0.5789 GB, free: 43.89 MB / 442.7 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.006055/0.3816, allocations: 3.743 MB / 0.5826 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.3839, allocations: 1.621 MB / 0.5842 GB, free: 42.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.3853, allocations: 0.8498 MB / 0.585 GB, free: 42.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.3854, allocations: 14.83 kB / 0.585 GB, free: 42.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.3871, allocations: 0.9639 MB / 0.5859 GB, free: 42.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=102): time 3.086e-06/0.3871, allocations: 0 / 0.5859 GB, free: 42.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=102): time 0.03/0.4171, allocations: 8.524 MB / 0.5943 GB, free: 41.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.4172, allocations: 119.8 kB / 0.5944 GB, free: 40.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.4185, allocations: 1.032 MB / 0.5954 GB, free: 40.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.4187, allocations: 44.98 kB / 0.5954 GB, free: 40.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.419, allocations: 0.5011 MB / 0.5959 GB, free: 40.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.4193, allocations: 372.1 kB / 0.5963 GB, free: 39.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.4194, allocations: 125.4 kB / 0.5964 GB, free: 39.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.4195, allocations: 359.4 kB / 0.5967 GB, free: 39.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.4209, allocations: 0.8311 MB / 0.5976 GB, free: 39.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.4224, allocations: 0.978 MB / 0.5985 GB, free: 38.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01784/0.4402, allocations: 5.909 MB / 0.6043 GB, free: 36.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.4403, allocations: 1.406 kB / 0.6043 GB, free: 36.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01258/0.4529, allocations: 5.409 MB / 0.6096 GB, free: 35.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.453, allocations: 57.5 kB / 0.6096 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.453, allocations: 2.438 kB / 0.6096 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006344/0.4593, allocations: 2.171 MB / 0.6117 GB, free: 35.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4606, allocations: 248.6 kB / 0.612 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.4804, allocations: 9.715 MB / 0.6215 GB, free: 31.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.4821, allocations: 228.1 kB / 0.6217 GB, free: 30.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.4824, allocations: 50.89 kB / 0.6217 GB, free: 30.96 MB / 442.7 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.0006396/0.483, allocations: 285.8 kB / 0.622 GB, free: 30.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.4833, allocations: 127.2 kB / 0.6221 GB, free: 30.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.497, allocations: 5.113 MB / 0.6271 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.497, allocations: 11.56 kB / 0.6271 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.497, allocations: 0 / 0.6271 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-05/0.4971, allocations: 6.703 kB / 0.6271 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.5122, allocations: 6.88 MB / 0.6339 GB, free: 24.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.5123, allocations: 7.969 kB / 0.6339 GB, free: 24.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/0.5129, allocations: 111.8 kB / 0.634 GB, free: 24.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005452/0.5184, allocations: 2.136 MB / 0.6361 GB, free: 22.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.5186, allocations: 21 kB / 0.6361 GB, free: 22.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/0.5362, allocations: 10.29 MB / 0.6461 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5362, allocations: 0 / 0.6461 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.5502, allocations: 6.117 MB / 0.6521 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.5507, allocations: 219.9 kB / 0.6523 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/0.551, allocations: 20 kB / 0.6523 GB, free: 5.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.5523, allocations: 155.9 kB / 0.6525 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006606/0.553, allocations: 204.6 kB / 0.6527 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.5531, allocations: 31.98 kB / 0.6527 GB, free: 4.895 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000991/0.5541, allocations: 0.6994 MB / 0.6534 GB, free: 4.188 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5541, allocations: 5.625 kB / 0.6534 GB, free: 4.184 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001503/0.5556, allocations: 488.9 kB / 0.6539 GB, free: 3.707 MB / 442.7 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.000268/0.5559, allocations: 138.4 kB / 0.654 GB, free: 3.566 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006389/0.5623, allocations: 2.934 MB / 0.6569 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5623, allocations: 0 / 0.6569 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004699/0.567, allocations: 1.977 MB / 0.6588 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5682, allocations: 118 kB / 0.6589 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.5727, allocations: 2.898 MB / 0.6617 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/0.5736, allocations: 1.124 MB / 0.6628 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004708/0.5741, allocations: 112.6 kB / 0.6629 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.5744, allocations: 71.42 kB / 0.663 GB, free: 10.29 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5744, allocations: 0 / 0.663 GB, free: 10.29 MB / 458.7 MB Notification: Performance of Templates: time 0.03698/0.6114, allocations: 23.34 MB / 0.6858 GB, free: 3.09 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)