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.001101/0.001101, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.283/1.283, allocations: 223.2 MB / 238.9 MB, free: 5.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.001224/0.001224, allocations: 193 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4444/0.4444, allocations: 79.45 MB / 420.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 16 kB / 0.489 GB, free: 5.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 69.5 MB / 0.5569 GB, free: 44 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2328/0.3643, allocations: 5.798 MB / 0.5625 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.3678, allocations: 2.005 MB / 0.5645 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007136/0.3685, allocations: 12.12 kB / 0.5645 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.3691, allocations: 176.1 kB / 0.5647 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.3708, allocations: 0.6836 MB / 0.5654 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.372, allocations: 0.5444 MB / 0.5659 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.3734, allocations: 1.014 MB / 0.5669 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.3738, allocations: 285 kB / 0.5671 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007201/0.3745, allocations: 0.5697 MB / 0.5677 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007124/0.3753, allocations: 0.6939 MB / 0.5684 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.3754, allocations: 62.19 kB / 0.5684 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.3759, allocations: 174.2 kB / 0.5686 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.3761, allocations: 244.8 kB / 0.5688 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.3763, allocations: 232.3 kB / 0.5691 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3774, allocations: 1.21 MB / 0.5702 GB, free: 35.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3774, allocations: 0 / 0.5702 GB, free: 35.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.3774, allocations: 2.062 kB / 0.5702 GB, free: 35.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.3775, allocations: 5.156 kB / 0.5702 GB, free: 35.66 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.008549/0.386, allocations: 2.594 MB / 0.5728 GB, free: 34.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.3861, allocations: 8.969 kB / 0.5728 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00542/0.3915, allocations: 0.7923 MB / 0.5736 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.3933, allocations: 0.8415 MB / 0.5744 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.3936, allocations: 262.7 kB / 0.5746 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3937, allocations: 87.75 kB / 0.5747 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.3959, allocations: 1.234 MB / 0.5759 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3959, allocations: 0 / 0.5759 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.396, allocations: 29.25 kB / 0.576 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3961, allocations: 24.95 kB / 0.576 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.3981, allocations: 1.137 MB / 0.5771 GB, free: 32.79 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.006318/0.4044, allocations: 3.844 MB / 0.5808 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.4066, allocations: 1.621 MB / 0.5824 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.4067, allocations: 17.2 kB / 0.5824 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/0.4084, allocations: 0.9495 MB / 0.5834 GB, free: 29.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.357e-06/0.4084, allocations: 0 / 0.5834 GB, free: 29.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02767/0.4361, allocations: 8.476 MB / 0.5916 GB, free: 27.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4362, allocations: 119 kB / 0.5918 GB, free: 27.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.4377, allocations: 1.031 MB / 0.5928 GB, free: 27.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002444/0.438, allocations: 42.77 kB / 0.5928 GB, free: 27.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.4383, allocations: 0.5009 MB / 0.5933 GB, free: 26.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.4386, allocations: 373.7 kB / 0.5937 GB, free: 26.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.4387, allocations: 30.09 kB / 0.5937 GB, free: 26.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.4388, allocations: 353.6 kB / 0.594 GB, free: 26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.4406, allocations: 0.8296 MB / 0.5948 GB, free: 25.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.4423, allocations: 0.9683 MB / 0.5958 GB, free: 25.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.444, allocations: 0.9396 MB / 0.5967 GB, free: 24.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.444, allocations: 0 / 0.5967 GB, free: 24.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01552/0.4596, allocations: 5.385 MB / 0.6019 GB, free: 23.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.4597, allocations: 59.09 kB / 0.602 GB, free: 23.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.4597, allocations: 6.516 kB / 0.602 GB, free: 23.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007921/0.4676, allocations: 2.228 MB / 0.6042 GB, free: 23.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.4691, allocations: 249.5 kB / 0.6044 GB, free: 23.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0236/0.4927, allocations: 10.39 MB / 0.6146 GB, free: 17.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.4948, allocations: 231.2 kB / 0.6148 GB, free: 17.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/0.4951, allocations: 48.88 kB / 0.6148 GB, free: 17.21 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 aVRI.firstOrder2.y:VARIABLE(flow=false start = aVRI.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008851/0.496, allocations: 288.4 kB / 0.6151 GB, free: 16.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/0.4964, allocations: 127.6 kB / 0.6152 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.5099, allocations: 5.106 MB / 0.6202 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.51, allocations: 8 kB / 0.6202 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.51, allocations: 4 kB / 0.6202 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/0.51, allocations: 8.547 kB / 0.6202 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.526, allocations: 6.914 MB / 0.627 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.5261, allocations: 4 kB / 0.627 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/0.5268, allocations: 112.9 kB / 0.6271 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006085/0.5329, allocations: 2.138 MB / 0.6292 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.5332, allocations: 24 kB / 0.6292 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/0.5551, allocations: 10.76 MB / 0.6397 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5552, allocations: 4.75 kB / 0.6397 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/0.5722, allocations: 6.117 MB / 0.6457 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.5728, allocations: 223.2 kB / 0.6459 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/0.5732, allocations: 23.94 kB / 0.6459 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.5748, allocations: 156.6 kB / 0.6461 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007135/0.5755, allocations: 208.6 kB / 0.6463 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.5757, allocations: 23.98 kB / 0.6463 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.5769, allocations: 0.6993 MB / 0.647 GB, free: 15.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5769, allocations: 0 / 0.647 GB, free: 15.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001919/0.5788, allocations: 483.5 kB / 0.6475 GB, free: 15.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003429/0.5792, allocations: 140.6 kB / 0.6476 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00766/0.5868, allocations: 2.94 MB / 0.6505 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5869, allocations: 0 / 0.6505 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005132/0.592, allocations: 1.971 MB / 0.6524 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009485/0.593, allocations: 102.1 kB / 0.6525 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.5977, allocations: 2.793 MB / 0.6552 GB, free: 7.324 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/0.5985, allocations: 1.155 MB / 0.6563 GB, free: 6.133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004821/0.599, allocations: 107.4 kB / 0.6564 GB, free: 6.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.5993, allocations: 71.42 kB / 0.6565 GB, free: 5.957 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5993, allocations: 0 / 0.6565 GB, free: 5.957 MB / 462.1 MB Notification: Performance of Templates: time 0.03845/0.6378, allocations: 22.88 MB / 0.6788 GB, free: 15.25 MB / 494.1 MB 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)