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.06568/0.06568, allocations: 12.2 MB / 27.16 MB, free: 116 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009006, allocations: 98.08 kB / 30.66 MB, free: 6.43 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.207/1.207, allocations: 205.4 MB / 239.5 MB, free: 10.68 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.001161/0.001161, allocations: 177.2 kB / 290.6 MB, free: 8.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3812/0.3812, allocations: 78.51 MB / 420.1 MB, free: 6.574 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.0008296/0.0008297, allocations: 25.72 kB / 0.4894 GB, free: 37.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09733, allocations: 69.24 MB / 0.557 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005334/0.1027, allocations: 5.849 MB / 0.5627 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.1058, allocations: 1.968 MB / 0.5646 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.1063, allocations: 12 kB / 0.5647 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.1068, allocations: 178.6 kB / 0.5648 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.1081, allocations: 0.6813 MB / 0.5655 GB, free: 136 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1091, allocations: 0.5455 MB / 0.566 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009993/0.1101, allocations: 1.014 MB / 0.567 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.1105, allocations: 278 kB / 0.5673 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/0.1112, allocations: 0.572 MB / 0.5678 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006861/0.1118, allocations: 0.6924 MB / 0.5685 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.112, allocations: 60 kB / 0.5686 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.1123, allocations: 179.8 kB / 0.5687 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.1125, allocations: 231 kB / 0.569 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.1128, allocations: 240.9 kB / 0.5692 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009793/0.1137, allocations: 1.212 MB / 0.5704 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.1138, allocations: 0 / 0.5704 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1138, allocations: 0 / 0.5704 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.1138, allocations: 0 / 0.5704 GB, free: 11.1 MB / 398.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.007806/0.1216, allocations: 2.595 MB / 0.5729 GB, free: 8.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1216, allocations: 15.98 kB / 0.5729 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.1264, allocations: 0.7865 MB / 0.5737 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.1277, allocations: 0.8556 MB / 0.5745 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.128, allocations: 256.2 kB / 0.5748 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.1281, allocations: 88 kB / 0.5749 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.1304, allocations: 1.231 MB / 0.5761 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1304, allocations: 0 / 0.5761 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.1305, allocations: 32 kB / 0.5761 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.1305, allocations: 20 kB / 0.5761 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.1328, allocations: 1.144 MB / 0.5772 GB, free: 3.914 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.006157/0.139, allocations: 3.843 MB / 0.581 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.1413, allocations: 1.617 MB / 0.5826 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.725e-05/0.1414, allocations: 16.94 kB / 0.5826 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.1431, allocations: 0.9543 MB / 0.5835 GB, free: 13.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.697e-06/0.1431, allocations: 3.984 kB / 0.5835 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.02738/0.1705, allocations: 8.482 MB / 0.5918 GB, free: 4.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.1706, allocations: 115.8 kB / 0.5919 GB, free: 4.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.1719, allocations: 1.023 MB / 0.5929 GB, free: 3.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.1721, allocations: 45.7 kB / 0.5929 GB, free: 3.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.1724, allocations: 0.5007 MB / 0.5934 GB, free: 2.902 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.1728, allocations: 370.7 kB / 0.5938 GB, free: 2.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.1729, allocations: 28 kB / 0.5938 GB, free: 2.508 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.173, allocations: 369.9 kB / 0.5942 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.1746, allocations: 0.816 MB / 0.595 GB, free: 1.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.1763, allocations: 0.9662 MB / 0.5959 GB, free: 336 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.178, allocations: 0.9403 MB / 0.5968 GB, free: 15.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.178, allocations: 0 / 0.5968 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01466/0.1927, allocations: 5.383 MB / 0.6021 GB, free: 9.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.1927, allocations: 67.39 kB / 0.6021 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1928, allocations: 4 kB / 0.6022 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007286/0.2001, allocations: 2.216 MB / 0.6043 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.2013, allocations: 251.6 kB / 0.6046 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/0.2236, allocations: 10.41 MB / 0.6147 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.2254, allocations: 238.8 kB / 0.615 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.2256, allocations: 43.98 kB / 0.615 GB, free: 12.6 MB / 446.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.000518/0.2261, allocations: 287.3 kB / 0.6153 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.2263, allocations: 126.4 kB / 0.6154 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.2404, allocations: 5.095 MB / 0.6204 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.2404, allocations: 16 kB / 0.6204 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2404, allocations: 0 / 0.6204 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.2404, allocations: 3.984 kB / 0.6204 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.2561, allocations: 6.922 MB / 0.6271 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.2562, allocations: 0 / 0.6271 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.2569, allocations: 111.9 kB / 0.6272 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006378/0.2633, allocations: 2.144 MB / 0.6293 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.2635, allocations: 23.95 kB / 0.6294 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/0.2845, allocations: 10.75 MB / 0.6399 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2846, allocations: 11.94 kB / 0.6399 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/0.3007, allocations: 6.114 MB / 0.6458 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.3011, allocations: 219.3 kB / 0.6461 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.3013, allocations: 23.95 kB / 0.6461 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.3026, allocations: 151.9 kB / 0.6462 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005877/0.3032, allocations: 208.6 kB / 0.6464 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/0.3033, allocations: 31.98 kB / 0.6465 GB, free: 11.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009639/0.3042, allocations: 0.6954 MB / 0.6471 GB, free: 11.13 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3042, allocations: 0 / 0.6471 GB, free: 11.13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001344/0.3056, allocations: 479.5 kB / 0.6476 GB, free: 10.66 MB / 478.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.0002621/0.3059, allocations: 143.5 kB / 0.6477 GB, free: 10.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007114/0.313, allocations: 2.934 MB / 0.6506 GB, free: 7.539 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.313, allocations: 0 / 0.6506 GB, free: 7.539 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00513/0.3182, allocations: 1.969 MB / 0.6525 GB, free: 5.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.319, allocations: 95.23 kB / 0.6526 GB, free: 5.438 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.3233, allocations: 2.814 MB / 0.6554 GB, free: 2.602 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.324, allocations: 1.151 MB / 0.6565 GB, free: 1.418 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004847/0.3245, allocations: 107.9 kB / 0.6566 GB, free: 1.309 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.3247, allocations: 67.42 kB / 0.6566 GB, free: 1.242 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3248, allocations: 0 / 0.6566 GB, free: 1.242 MB / 478.1 MB Notification: Performance of Templates: time 0.2096/0.5344, allocations: 22.86 MB / 0.679 GB, free: 88.76 MB / 478.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: