Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009657/0.0009655, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.3 MB / 240 MB, free: 5.484 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.001079/0.001079, allocations: 183.5 kB / 291.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5226/0.5226, allocations: 91.92 MB / 434.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 12 kB / 0.5054 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.334, allocations: 72.47 MB / 0.5762 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005267/0.3393, allocations: 6.886 MB / 0.5829 GB, free: 32.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.344, allocations: 2.157 MB / 0.585 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009933/0.345, allocations: 18.69 kB / 0.585 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006857/0.3457, allocations: 197.5 kB / 0.5852 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.3475, allocations: 0.6728 MB / 0.5859 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.3489, allocations: 0.698 MB / 0.5866 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.3505, allocations: 1.634 MB / 0.5882 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004604/0.351, allocations: 364.2 kB / 0.5885 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007558/0.3517, allocations: 0.5877 MB / 0.5891 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006753/0.3524, allocations: 0.7554 MB / 0.5898 GB, free: 28.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.3526, allocations: 60.81 kB / 0.5899 GB, free: 28.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.353, allocations: 195.7 kB / 0.5901 GB, free: 28.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.3532, allocations: 264.7 kB / 0.5903 GB, free: 27.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.3537, allocations: 0.6605 MB / 0.591 GB, free: 27.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.3548, allocations: 1.335 MB / 0.5923 GB, free: 27.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3548, allocations: 0 / 0.5923 GB, free: 27.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3549, allocations: 1.156 kB / 0.5923 GB, free: 27.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.3549, allocations: 0 / 0.5923 GB, free: 27.04 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.008408/0.3633, allocations: 2.638 MB / 0.5948 GB, free: 25.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3634, allocations: 13.91 kB / 0.5948 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.3686, allocations: 0.8046 MB / 0.5956 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.3705, allocations: 0.9279 MB / 0.5965 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/0.3708, allocations: 336.4 kB / 0.5969 GB, free: 24.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.371, allocations: 92.66 kB / 0.5969 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.3739, allocations: 1.368 MB / 0.5983 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.374, allocations: 3.938 kB / 0.5983 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3741, allocations: 37.12 kB / 0.5983 GB, free: 24.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.3741, allocations: 19.66 kB / 0.5983 GB, free: 24.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.3771, allocations: 1.29 MB / 0.5996 GB, free: 23.84 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.00777/0.3848, allocations: 4.299 MB / 0.6038 GB, free: 21.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.3883, allocations: 1.877 MB / 0.6056 GB, free: 20.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.3903, allocations: 0.9362 MB / 0.6065 GB, free: 20.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.3904, allocations: 17.02 kB / 0.6066 GB, free: 20.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.3926, allocations: 1.042 MB / 0.6076 GB, free: 19.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.735e-06/0.3926, allocations: 4 kB / 0.6076 GB, free: 19.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03522/0.4279, allocations: 9.307 MB / 0.6167 GB, free: 17.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.428, allocations: 118.4 kB / 0.6168 GB, free: 17.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.4297, allocations: 1.044 MB / 0.6178 GB, free: 17.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.43, allocations: 46.86 kB / 0.6179 GB, free: 17.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.4303, allocations: 0.524 MB / 0.6184 GB, free: 16.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00036/0.4306, allocations: 387.2 kB / 0.6187 GB, free: 16.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.4308, allocations: 128.1 kB / 0.6189 GB, free: 16.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.4309, allocations: 357.7 kB / 0.6192 GB, free: 16.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.4327, allocations: 0.8688 MB / 0.62 GB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.4346, allocations: 1.022 MB / 0.621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02099/0.4556, allocations: 6.019 MB / 0.6269 GB, free: 9.078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4557, allocations: 3.938 kB / 0.6269 GB, free: 9.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01397/0.4697, allocations: 5.37 MB / 0.6322 GB, free: 3.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.4698, allocations: 59.41 kB / 0.6322 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.4698, allocations: 4 kB / 0.6322 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005854/0.4756, allocations: 2.046 MB / 0.6342 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.4771, allocations: 291.6 kB / 0.6345 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/0.4975, allocations: 9.318 MB / 0.6436 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.4997, allocations: 250.8 kB / 0.6438 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.4998, allocations: 47.98 kB / 0.6439 GB, free: 7.512 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006865/0.5005, allocations: 307.6 kB / 0.6442 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.5008, allocations: 130.4 kB / 0.6443 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/0.517, allocations: 5.338 MB / 0.6495 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.517, allocations: 12 kB / 0.6495 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.517, allocations: 0 / 0.6495 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/0.5171, allocations: 7.969 kB / 0.6495 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/0.5359, allocations: 7.201 MB / 0.6566 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.536, allocations: 3.938 kB / 0.6566 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.5368, allocations: 135.8 kB / 0.6567 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007321/0.5441, allocations: 2.212 MB / 0.6589 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003387/0.5445, allocations: 27.98 kB / 0.6589 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02407/0.5686, allocations: 10.66 MB / 0.6693 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5687, allocations: 3.984 kB / 0.6693 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01955/0.5882, allocations: 6.439 MB / 0.6756 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/0.5888, allocations: 223.2 kB / 0.6758 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005612/0.5894, allocations: 27.94 kB / 0.6758 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.5912, allocations: 179.8 kB / 0.676 GB, free: 6.102 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008905/0.5922, allocations: 228.6 kB / 0.6762 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/0.5924, allocations: 28 kB / 0.6762 GB, free: 5.852 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001447/0.5938, allocations: 0.7125 MB / 0.6769 GB, free: 5.133 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5938, allocations: 0 / 0.6769 GB, free: 5.133 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002274/0.5961, allocations: 483.4 kB / 0.6774 GB, free: 4.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004462/0.5966, allocations: 140.9 kB / 0.6775 GB, free: 4.516 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008201/0.6048, allocations: 3.009 MB / 0.6805 GB, free: 1.469 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6049, allocations: 0 / 0.6805 GB, free: 1.469 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006041/0.6109, allocations: 2.058 MB / 0.6825 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.6127, allocations: 123.6 kB / 0.6826 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.6187, allocations: 3.11 MB / 0.6856 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000927/0.6197, allocations: 1.156 MB / 0.6868 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.6202, allocations: 79.36 kB / 0.6868 GB, free: 10.84 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6202, allocations: 0 / 0.6868 GB, free: 10.84 MB / 494.1 MB Notification: Performance of Templates: time 0.03597/0.6562, allocations: 25.15 MB / 0.7114 GB, free: 1.68 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)