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-master/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-master/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-master/package.mo): time 0.07238/0.07238, allocations: 12.6 MB / 28.76 MB, free: 0.9805 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.0009064/0.0009064, allocations: 113.6 kB / 32.36 MB, free: 3.953 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.106/1.106, allocations: 205.1 MB / 241 MB, free: 12.43 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.001088/0.001088, allocations: 192.5 kB / 291.2 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.376/0.376, allocations: 78.5 MB / 419.8 MB, free: 11.36 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.002451/0.002451, allocations: 144.9 kB / 0.4887 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2233, allocations: 68.11 MB / 0.5552 GB, free: 32.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005263/0.2286, allocations: 6.662 MB / 0.5617 GB, free: 27.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.2314, allocations: 2.003 MB / 0.5637 GB, free: 26.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.2317, allocations: 12.12 kB / 0.5637 GB, free: 26.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004681/0.2322, allocations: 240 kB / 0.5639 GB, free: 25.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.2334, allocations: 0.7706 MB / 0.5647 GB, free: 25.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.2344, allocations: 0.6671 MB / 0.5653 GB, free: 24.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009811/0.2353, allocations: 1.631 MB / 0.5669 GB, free: 23.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.2357, allocations: 342.1 kB / 0.5673 GB, free: 23.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000527/0.2362, allocations: 0.6661 MB / 0.5679 GB, free: 23.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005993/0.2369, allocations: 0.8094 MB / 0.5687 GB, free: 22.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.237, allocations: 122.9 kB / 0.5688 GB, free: 22.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.2374, allocations: 265.5 kB / 0.5691 GB, free: 22.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.2376, allocations: 330.4 kB / 0.5694 GB, free: 22.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.238, allocations: 0.6824 MB / 0.5701 GB, free: 21.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.239, allocations: 1.678 MB / 0.5717 GB, free: 20.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.239, allocations: 1.062 kB / 0.5717 GB, free: 20.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.239, allocations: 0 / 0.5717 GB, free: 20.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.2391, allocations: 0 / 0.5717 GB, free: 20.53 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.007481/0.2466, allocations: 2.764 MB / 0.5744 GB, free: 18.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2466, allocations: 13.33 kB / 0.5744 GB, free: 18.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/0.251, allocations: 0.7838 MB / 0.5752 GB, free: 18.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2521, allocations: 0.8846 MB / 0.576 GB, free: 17.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.2523, allocations: 261.5 kB / 0.5763 GB, free: 17.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.2525, allocations: 86.59 kB / 0.5764 GB, free: 17.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.2543, allocations: 1.176 MB / 0.5775 GB, free: 16.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2543, allocations: 0 / 0.5775 GB, free: 16.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.2544, allocations: 35.98 kB / 0.5776 GB, free: 16.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2544, allocations: 20 kB / 0.5776 GB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.2562, allocations: 1.074 MB / 0.5786 GB, free: 15.4 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.004508/0.2607, allocations: 3.684 MB / 0.5822 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.2626, allocations: 1.549 MB / 0.5837 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.2638, allocations: 0.793 MB / 0.5845 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.348e-05/0.2639, allocations: 16.98 kB / 0.5845 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.2652, allocations: 0.8919 MB / 0.5854 GB, free: 8.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 2.204e-06/0.2652, allocations: 0 / 0.5854 GB, free: 8.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.02253/0.2877, allocations: 6.96 MB / 0.5922 GB, free: 1.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.2878, allocations: 115.8 kB / 0.5923 GB, free: 1.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.2888, allocations: 1.023 MB / 0.5933 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.843e-05/0.2889, allocations: 41.7 kB / 0.5933 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.2893, allocations: 0.5045 MB / 0.5938 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.2896, allocations: 374.8 kB / 0.5942 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/0.29, allocations: 247.4 kB / 0.5944 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2901, allocations: 357.9 kB / 0.5948 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.2917, allocations: 0.7691 MB / 0.5955 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.2933, allocations: 0.9116 MB / 0.5964 GB, free: 12.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/0.3124, allocations: 5.428 MB / 0.6017 GB, free: 7.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3124, allocations: 0 / 0.6017 GB, free: 7.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01321/0.3256, allocations: 4.51 MB / 0.6061 GB, free: 2.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.3257, allocations: 59.41 kB / 0.6062 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3257, allocations: 4 kB / 0.6062 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006324/0.332, allocations: 1.862 MB / 0.608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.333, allocations: 243.7 kB / 0.6082 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/0.3534, allocations: 9.483 MB / 0.6175 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.3549, allocations: 202.7 kB / 0.6177 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.3551, allocations: 47.98 kB / 0.6177 GB, free: 6.648 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 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.0004447/0.3555, allocations: 289.2 kB / 0.618 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.3558, allocations: 126.5 kB / 0.6181 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.3685, allocations: 4.189 MB / 0.6222 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3686, allocations: 12 kB / 0.6222 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3686, allocations: 4 kB / 0.6222 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.3686, allocations: 15.89 kB / 0.6222 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.3829, allocations: 5.965 MB / 0.6281 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.3829, allocations: 0 / 0.6281 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/0.3835, allocations: 111.8 kB / 0.6282 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005756/0.3893, allocations: 1.828 MB / 0.63 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/0.3894, allocations: 24 kB / 0.63 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/0.4094, allocations: 10.32 MB / 0.6401 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4094, allocations: 7.922 kB / 0.6401 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/0.4235, allocations: 5.134 MB / 0.6451 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.4238, allocations: 219.3 kB / 0.6453 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.424, allocations: 23.94 kB / 0.6453 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4251, allocations: 115.9 kB / 0.6454 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004813/0.4256, allocations: 208.7 kB / 0.6456 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.4257, allocations: 27.98 kB / 0.6456 GB, free: 9.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009224/0.4266, allocations: 0.7071 MB / 0.6463 GB, free: 8.801 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4267, allocations: 0 / 0.6463 GB, free: 8.801 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001139/0.4278, allocations: 483.5 kB / 0.6468 GB, free: 8.328 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 (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.0002307/0.428, allocations: 135.5 kB / 0.6469 GB, free: 8.188 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006807/0.4349, allocations: 2.721 MB / 0.6496 GB, free: 5.426 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4349, allocations: 7.938 kB / 0.6496 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004474/0.4393, allocations: 1.8 MB / 0.6513 GB, free: 3.578 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.4401, allocations: 112.4 kB / 0.6515 GB, free: 3.465 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.4437, allocations: 2.409 MB / 0.6538 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.4444, allocations: 1.132 MB / 0.6549 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.4446, allocations: 79.42 kB / 0.655 GB, free: 15.78 MB / 478.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4447, allocations: 0 / 0.655 GB, free: 15.78 MB / 478.1 MB Notification: Performance of Templates: time 0.02568/0.4703, allocations: 24.08 MB / 0.6785 GB, free: 7.699 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (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)