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.001247/0.001247, allocations: 110.8 kB / 16.41 MB, free: 6.477 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.38/1.38, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001612/0.001612, allocations: 187.8 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5527/0.5527, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75.55 kB / 0.5734 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 71.29 MB / 0.643 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007394/0.1435, allocations: 6.636 MB / 0.6495 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.1481, allocations: 2.028 MB / 0.6515 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009729/0.1491, allocations: 15.94 kB / 0.6515 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.1499, allocations: 242 kB / 0.6517 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.1523, allocations: 0.7598 MB / 0.6524 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.1538, allocations: 0.6853 MB / 0.6531 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.1558, allocations: 1.639 MB / 0.6547 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005318/0.1563, allocations: 340.6 kB / 0.655 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009461/0.1573, allocations: 0.6691 MB / 0.6557 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009254/0.1582, allocations: 0.8167 MB / 0.6565 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.1584, allocations: 124 kB / 0.6566 GB, free: 5.629 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.159, allocations: 259.9 kB / 0.6569 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.1593, allocations: 322.7 kB / 0.6572 GB, free: 5.059 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.1599, allocations: 0.6796 MB / 0.6578 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1617, allocations: 1.693 MB / 0.6595 GB, free: 2.676 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1617, allocations: 0 / 0.6595 GB, free: 2.676 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1617, allocations: 4 kB / 0.6595 GB, free: 2.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.1617, allocations: 0 / 0.6595 GB, free: 2.672 MB / 462.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.009023/0.1708, allocations: 2.758 MB / 0.6622 GB, free: 15.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1708, allocations: 12.02 kB / 0.6622 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004898/0.1757, allocations: 0.7826 MB / 0.663 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.1774, allocations: 0.8938 MB / 0.6638 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/0.1777, allocations: 252.2 kB / 0.6641 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.1779, allocations: 95.84 kB / 0.6642 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.1802, allocations: 1.176 MB / 0.6653 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1802, allocations: 0 / 0.6653 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.1803, allocations: 32 kB / 0.6653 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.1804, allocations: 20 kB / 0.6654 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.1826, allocations: 1.07 MB / 0.6664 GB, free: 11.41 MB / 478.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.006408/0.189, allocations: 3.66 MB / 0.67 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.1915, allocations: 1.547 MB / 0.6715 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.193, allocations: 0.7832 MB / 0.6723 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.743e-05/0.1931, allocations: 16.98 kB / 0.6723 GB, free: 5.145 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001726/0.1948, allocations: 0.8919 MB / 0.6731 GB, free: 4.234 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 5.481e-06/0.1949, allocations: 0 / 0.6731 GB, free: 4.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02725/0.2221, allocations: 6.96 MB / 0.6799 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.2222, allocations: 115.8 kB / 0.68 GB, free: 13.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.224, allocations: 1.031 MB / 0.6811 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.2242, allocations: 41.7 kB / 0.6811 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.2246, allocations: 0.5085 MB / 0.6816 GB, free: 11.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.2251, allocations: 378.6 kB / 0.682 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004684/0.2255, allocations: 247.4 kB / 0.6822 GB, free: 10.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2257, allocations: 357.9 kB / 0.6825 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.2273, allocations: 0.7652 MB / 0.6833 GB, free: 9.719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.229, allocations: 0.9116 MB / 0.6842 GB, free: 8.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02151/0.2506, allocations: 5.417 MB / 0.6895 GB, free: 3.273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.2506, allocations: 4 kB / 0.6895 GB, free: 3.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01431/0.2649, allocations: 4.506 MB / 0.6939 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/0.265, allocations: 56.5 kB / 0.6939 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.2651, allocations: 7.984 kB / 0.6939 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006788/0.2719, allocations: 1.865 MB / 0.6957 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.2733, allocations: 243.7 kB / 0.696 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/0.2958, allocations: 9.453 MB / 0.7052 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.2977, allocations: 194.8 kB / 0.7054 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.2979, allocations: 43.98 kB / 0.7054 GB, free: 2.715 MB / 0.4981 GB 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.0006043/0.2985, allocations: 311.3 kB / 0.7057 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.2987, allocations: 122.5 kB / 0.7059 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.3123, allocations: 4.189 MB / 0.7099 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.3124, allocations: 12 kB / 0.71 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3124, allocations: 0 / 0.71 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.3124, allocations: 15.91 kB / 0.71 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.3281, allocations: 5.961 MB / 0.7158 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.3281, allocations: 0 / 0.7158 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.3289, allocations: 111.8 kB / 0.7159 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00611/0.3351, allocations: 1.824 MB / 0.7177 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/0.3353, allocations: 24 kB / 0.7177 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/0.3563, allocations: 10.3 MB / 0.7278 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3563, allocations: 7.938 kB / 0.7278 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.3716, allocations: 5.136 MB / 0.7328 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006451/0.3723, allocations: 219.3 kB / 0.733 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.3725, allocations: 19.94 kB / 0.733 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.3738, allocations: 123.9 kB / 0.7331 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007574/0.3746, allocations: 212.8 kB / 0.7333 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/0.3746, allocations: 31.94 kB / 0.7334 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001084/0.3757, allocations: 0.6954 MB / 0.734 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3757, allocations: 0 / 0.734 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001689/0.3774, allocations: 487.5 kB / 0.7345 GB, free: 4.398 MB / 0.5294 GB 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.0003667/0.3778, allocations: 135.6 kB / 0.7346 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007113/0.3849, allocations: 2.694 MB / 0.7373 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.385, allocations: 0 / 0.7373 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004725/0.3897, allocations: 1.788 MB / 0.739 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009993/0.3907, allocations: 110.5 kB / 0.7391 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.395, allocations: 2.385 MB / 0.7414 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.3957, allocations: 1.132 MB / 0.7426 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.3961, allocations: 79.42 kB / 0.7426 GB, free: 11.93 MB / 0.545 GB Notification: Performance of SimCode: time 1.814e-06/0.3961, allocations: 0 / 0.7426 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Templates: time 0.03024/0.4263, allocations: 24.22 MB / 0.7663 GB, free: 3.699 MB / 0.5606 GB 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)