Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 239.2 MB, free: 4.605 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.001307/0.001307, allocations: 184.5 kB / 289.5 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5247/0.5247, allocations: 91.9 MB / 431.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 87.88 kB / 0.5019 GB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3388, allocations: 71.26 MB / 0.5715 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005977/0.3449, allocations: 7.012 MB / 0.5783 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.3486, allocations: 2.118 MB / 0.5804 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007531/0.3494, allocations: 18.47 kB / 0.5804 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.35, allocations: 259.7 kB / 0.5806 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3517, allocations: 0.7717 MB / 0.5814 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.353, allocations: 0.7583 MB / 0.5821 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.3544, allocations: 1.723 MB / 0.5838 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.3549, allocations: 398 kB / 0.5842 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007134/0.3556, allocations: 0.7033 MB / 0.5849 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007057/0.3563, allocations: 0.8318 MB / 0.5857 GB, free: 28.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.3565, allocations: 133.1 kB / 0.5858 GB, free: 28.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.357, allocations: 278.7 kB / 0.5861 GB, free: 28.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.3573, allocations: 343.2 kB / 0.5864 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.3577, allocations: 0.7257 MB / 0.5871 GB, free: 27.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.3592, allocations: 1.782 MB / 0.5889 GB, free: 26.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3592, allocations: 1.219 kB / 0.5889 GB, free: 26.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3592, allocations: 0 / 0.5889 GB, free: 26.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.827e-05/0.3593, allocations: 0 / 0.5889 GB, free: 26.69 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009038/0.3683, allocations: 2.84 MB / 0.5916 GB, free: 25.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3684, allocations: 9.594 kB / 0.5917 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005161/0.3735, allocations: 0.81 MB / 0.5924 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.3752, allocations: 0.9136 MB / 0.5933 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.3756, allocations: 327.3 kB / 0.5937 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.3758, allocations: 92.81 kB / 0.5937 GB, free: 24.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.3785, allocations: 1.291 MB / 0.595 GB, free: 23.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.3785, allocations: 0 / 0.595 GB, free: 23.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.3786, allocations: 36.59 kB / 0.595 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.3787, allocations: 20.06 kB / 0.5951 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.3814, allocations: 1.2 MB / 0.5962 GB, free: 23.34 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.007384/0.3888, allocations: 4.225 MB / 0.6004 GB, free: 20.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.3921, allocations: 1.767 MB / 0.6021 GB, free: 19.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.3939, allocations: 0.8565 MB / 0.6029 GB, free: 19.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.394, allocations: 17.64 kB / 0.6029 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/0.3961, allocations: 0.9632 MB / 0.6039 GB, free: 19.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.366e-06/0.3961, allocations: 0 / 0.6039 GB, free: 19.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03331/0.4294, allocations: 7.759 MB / 0.6114 GB, free: 17.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.4295, allocations: 114.6 kB / 0.6116 GB, free: 17.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.4313, allocations: 1.042 MB / 0.6126 GB, free: 17.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.4316, allocations: 42.3 kB / 0.6126 GB, free: 17.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.4319, allocations: 0.5279 MB / 0.6131 GB, free: 16.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.4323, allocations: 395.2 kB / 0.6135 GB, free: 16.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004453/0.4327, allocations: 243.5 kB / 0.6137 GB, free: 16.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.4328, allocations: 354.4 kB / 0.6141 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.4345, allocations: 0.7873 MB / 0.6148 GB, free: 15.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.4363, allocations: 0.9403 MB / 0.6158 GB, free: 14.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02132/0.4576, allocations: 5.504 MB / 0.6211 GB, free: 11.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4577, allocations: 3.938 kB / 0.6211 GB, free: 11.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01289/0.4706, allocations: 4.455 MB / 0.6255 GB, free: 6.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/0.4707, allocations: 61.44 kB / 0.6256 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.4707, allocations: 4 kB / 0.6256 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005563/0.4763, allocations: 1.737 MB / 0.6273 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4778, allocations: 279.6 kB / 0.6275 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/0.4979, allocations: 9.058 MB / 0.6364 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.5001, allocations: 202.8 kB / 0.6366 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.5003, allocations: 55.97 kB / 0.6366 GB, free: 11.06 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006743/0.501, allocations: 303.6 kB / 0.6369 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.5013, allocations: 130.4 kB / 0.637 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/0.5165, allocations: 4.401 MB / 0.6413 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.5165, allocations: 12 kB / 0.6413 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5166, allocations: 0 / 0.6413 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.153e-05/0.5166, allocations: 11.97 kB / 0.6413 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/0.5351, allocations: 6.275 MB / 0.6475 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.5351, allocations: 8 kB / 0.6475 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/0.536, allocations: 123.9 kB / 0.6476 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006798/0.5428, allocations: 1.906 MB / 0.6495 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002612/0.5431, allocations: 23.98 kB / 0.6495 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02429/0.5674, allocations: 10.72 MB / 0.66 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5674, allocations: 3.984 kB / 0.66 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/0.5847, allocations: 5.423 MB / 0.6653 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/0.5853, allocations: 219.2 kB / 0.6655 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.5856, allocations: 19.98 kB / 0.6655 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.587, allocations: 143.9 kB / 0.6656 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007201/0.5877, allocations: 244.6 kB / 0.6659 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-05/0.5878, allocations: 28.09 kB / 0.6659 GB, free: 12.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.5889, allocations: 0.7083 MB / 0.6666 GB, free: 11.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5889, allocations: 0 / 0.6666 GB, free: 11.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00141/0.5903, allocations: 483.4 kB / 0.667 GB, free: 11.37 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000274/0.5906, allocations: 136.6 kB / 0.6672 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007677/0.5983, allocations: 2.772 MB / 0.6699 GB, free: 8.418 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.5983, allocations: 0 / 0.6699 GB, free: 8.418 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005366/0.6037, allocations: 1.884 MB / 0.6717 GB, free: 6.488 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.6047, allocations: 126.4 kB / 0.6718 GB, free: 6.363 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.6095, allocations: 2.511 MB / 0.6743 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.6102, allocations: 1.155 MB / 0.6754 GB, free: 2.637 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004634/0.6107, allocations: 112.3 kB / 0.6755 GB, free: 2.523 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.611, allocations: 79.41 kB / 0.6756 GB, free: 2.445 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.611, allocations: 0 / 0.6756 GB, free: 2.445 MB / 478.1 MB Notification: Performance of Templates: time 0.04245/0.6534, allocations: 27.34 MB / 0.7023 GB, free: 7.133 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)