Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07789/0.07789, allocations: 12.2 MB / 27.18 MB, free: 1.504 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007816/0.0007819, allocations: 103.5 kB / 30.68 MB, free: 4.859 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 239.5 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009938/0.0009938, allocations: 188.5 kB / 290.6 MB, free: 11.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4179/0.4179, allocations: 78.52 MB / 420.1 MB, free: 11.49 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008373/0.0008374, allocations: 32 kB / 0.4895 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2595, allocations: 69.23 MB / 0.5571 GB, free: 21.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004187/0.2637, allocations: 6.131 MB / 0.5631 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.2667, allocations: 1.928 MB / 0.5649 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005662/0.2673, allocations: 12 kB / 0.565 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.2678, allocations: 174.7 kB / 0.5651 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.2691, allocations: 0.6293 MB / 0.5657 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009983/0.2701, allocations: 0.5413 MB / 0.5663 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009843/0.2711, allocations: 1.452 MB / 0.5677 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.2714, allocations: 282 kB / 0.568 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005245/0.272, allocations: 0.5716 MB / 0.5685 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005836/0.2725, allocations: 0.7039 MB / 0.5692 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2727, allocations: 63.94 kB / 0.5693 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.273, allocations: 191.8 kB / 0.5694 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.2732, allocations: 246.8 kB / 0.5697 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2733, allocations: 233 kB / 0.5699 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007429/0.2741, allocations: 1.25 MB / 0.5711 GB, free: 6.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2741, allocations: 4 kB / 0.5711 GB, free: 6.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2741, allocations: 0 / 0.5711 GB, free: 6.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.2741, allocations: 0 / 0.5711 GB, free: 6.582 MB / 382.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.007106/0.2812, allocations: 2.587 MB / 0.5737 GB, free: 3.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2813, allocations: 19.98 kB / 0.5737 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.286, allocations: 0.7865 MB / 0.5744 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.2873, allocations: 0.8479 MB / 0.5753 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.2875, allocations: 268.1 kB / 0.5755 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.2876, allocations: 87.98 kB / 0.5756 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.2896, allocations: 1.235 MB / 0.5768 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2896, allocations: 0 / 0.5768 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/0.2897, allocations: 32 kB / 0.5768 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2897, allocations: 24 kB / 0.5769 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.2917, allocations: 1.14 MB / 0.578 GB, free: 15.39 MB / 398.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.005903/0.2977, allocations: 3.746 MB / 0.5816 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.3001, allocations: 1.624 MB / 0.5832 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.3016, allocations: 0.8402 MB / 0.584 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.3017, allocations: 13 kB / 0.5841 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.3034, allocations: 0.9545 MB / 0.585 GB, free: 7.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 2.324e-06/0.3034, allocations: 0 / 0.585 GB, free: 7.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.02502/0.3284, allocations: 8.488 MB / 0.5933 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.3285, allocations: 115.8 kB / 0.5934 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.33, allocations: 1.023 MB / 0.5944 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.3302, allocations: 45.7 kB / 0.5944 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.3306, allocations: 0.5008 MB / 0.5949 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.331, allocations: 374.6 kB / 0.5953 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/0.3311, allocations: 32 kB / 0.5953 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3312, allocations: 357.9 kB / 0.5957 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.3328, allocations: 0.8238 MB / 0.5965 GB, free: 12.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.3346, allocations: 0.9702 MB / 0.5974 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.3364, allocations: 0.9403 MB / 0.5983 GB, free: 10.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3364, allocations: 0 / 0.5983 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01438/0.3508, allocations: 5.386 MB / 0.6036 GB, free: 4.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.3509, allocations: 61.42 kB / 0.6036 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.3509, allocations: 4 kB / 0.6036 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006952/0.3578, allocations: 2.224 MB / 0.6058 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.3591, allocations: 255.5 kB / 0.6061 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/0.3799, allocations: 9.922 MB / 0.6157 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.3816, allocations: 234.8 kB / 0.616 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.3817, allocations: 51.94 kB / 0.616 GB, free: 7.812 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.0005191/0.3822, allocations: 291.3 kB / 0.6163 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.3824, allocations: 126.4 kB / 0.6164 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.396, allocations: 5.095 MB / 0.6214 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.396, allocations: 12 kB / 0.6214 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.396, allocations: 0 / 0.6214 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/0.3961, allocations: 7.922 kB / 0.6214 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.4118, allocations: 6.868 MB / 0.6281 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.4118, allocations: 3.938 kB / 0.6281 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.4125, allocations: 111.9 kB / 0.6282 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006138/0.4187, allocations: 2.141 MB / 0.6303 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.4189, allocations: 23.89 kB / 0.6303 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/0.4385, allocations: 10.27 MB / 0.6404 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4385, allocations: 7.938 kB / 0.6404 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/0.4538, allocations: 6.092 MB / 0.6463 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.4542, allocations: 231.2 kB / 0.6466 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.4544, allocations: 16 kB / 0.6466 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.4555, allocations: 151.9 kB / 0.6467 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006622/0.4562, allocations: 224.6 kB / 0.6469 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/0.4563, allocations: 27.98 kB / 0.647 GB, free: 7.605 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.4573, allocations: 0.6954 MB / 0.6476 GB, free: 6.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4574, allocations: 0 / 0.6476 GB, free: 6.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001379/0.4587, allocations: 483.5 kB / 0.6481 GB, free: 6.43 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.00025/0.459, allocations: 130.9 kB / 0.6482 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006709/0.4657, allocations: 2.942 MB / 0.6511 GB, free: 3.312 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4657, allocations: 0 / 0.6511 GB, free: 3.312 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004653/0.4704, allocations: 1.972 MB / 0.653 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.4713, allocations: 112.4 kB / 0.6531 GB, free: 1.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.4753, allocations: 2.776 MB / 0.6558 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.4759, allocations: 1.132 MB / 0.6569 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.4763, allocations: 107.9 kB / 0.657 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.4766, allocations: 67.42 kB / 0.6571 GB, free: 13.05 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4766, allocations: 0 / 0.6571 GB, free: 13.05 MB / 478.1 MB Notification: Performance of Templates: time 0.03262/0.5092, allocations: 22.9 MB / 0.6795 GB, free: 6.164 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1) Environment - environmentSimulation: