Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0009766/0.0009767, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.459/1.459, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.001235/0.001235, allocations: 164.6 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4859/0.4859, allocations: 78.54 MB / 420.3 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005713/0.0005713, allocations: 8 kB / 0.4887 GB, free: 6.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2012, allocations: 69.37 MB / 0.5564 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.2725/0.4738, allocations: 6.851 MB / 0.5631 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004508/0.4783, allocations: 2.139 MB / 0.5652 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008495/0.4792, allocations: 15.75 kB / 0.5652 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.4799, allocations: 197.3 kB / 0.5654 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.4817, allocations: 0.6785 MB / 0.5661 GB, free: 34.65 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.4832, allocations: 0.6909 MB / 0.5667 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.4847, allocations: 1.629 MB / 0.5683 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.4852, allocations: 357.6 kB / 0.5687 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007755/0.486, allocations: 0.6019 MB / 0.5693 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007042/0.4867, allocations: 0.7468 MB / 0.57 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.4869, allocations: 63.16 kB / 0.57 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/0.4873, allocations: 192.8 kB / 0.5702 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.4875, allocations: 275.4 kB / 0.5705 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000457/0.488, allocations: 0.6559 MB / 0.5711 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.4892, allocations: 1.691 MB / 0.5728 GB, free: 32.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4892, allocations: 0 / 0.5728 GB, free: 32.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4892, allocations: 0 / 0.5728 GB, free: 32.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.4892, allocations: 0 / 0.5728 GB, free: 32.91 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.007929/0.4971, allocations: 2.639 MB / 0.5754 GB, free: 31.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4972, allocations: 8.344 kB / 0.5754 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004899/0.5021, allocations: 0.8099 MB / 0.5762 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.5036, allocations: 0.9267 MB / 0.5771 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.5039, allocations: 344.6 kB / 0.5774 GB, free: 31.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.5041, allocations: 89.59 kB / 0.5775 GB, free: 31.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.5068, allocations: 1.365 MB / 0.5788 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.5068, allocations: 3.578 kB / 0.5788 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.5069, allocations: 34.88 kB / 0.5788 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.507, allocations: 21.12 kB / 0.5789 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.5096, allocations: 1.295 MB / 0.5801 GB, free: 31.01 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.006689/0.5163, allocations: 4.264 MB / 0.5843 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.5197, allocations: 1.888 MB / 0.5861 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.5219, allocations: 0.9375 MB / 0.5871 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.522, allocations: 11.62 kB / 0.5871 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002091/0.5241, allocations: 1.032 MB / 0.5881 GB, free: 27.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 5.31e-06/0.5242, allocations: 0.6094 kB / 0.5881 GB, free: 27.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03772/0.5619, allocations: 9.476 MB / 0.5973 GB, free: 25.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.562, allocations: 119.4 kB / 0.5974 GB, free: 25.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.5641, allocations: 1.042 MB / 0.5985 GB, free: 24.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.5644, allocations: 46.25 kB / 0.5985 GB, free: 24.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.5648, allocations: 0.5239 MB / 0.599 GB, free: 24.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004918/0.5653, allocations: 388.1 kB / 0.5994 GB, free: 24.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.5656, allocations: 125.4 kB / 0.5995 GB, free: 24.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.5657, allocations: 362.3 kB / 0.5998 GB, free: 23.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.5678, allocations: 0.8613 MB / 0.6007 GB, free: 23.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.57, allocations: 1.027 MB / 0.6017 GB, free: 23.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02392/0.5939, allocations: 6.02 MB / 0.6076 GB, free: 21.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.594, allocations: 3.938 kB / 0.6076 GB, free: 21.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01642/0.6104, allocations: 5.381 MB / 0.6128 GB, free: 19.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.6105, allocations: 59.41 kB / 0.6129 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.6105, allocations: 0 / 0.6129 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006152/0.6167, allocations: 2.052 MB / 0.6149 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.6182, allocations: 280.5 kB / 0.6152 GB, free: 17.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/0.6379, allocations: 9.323 MB / 0.6243 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.6401, allocations: 250.8 kB / 0.6245 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.6403, allocations: 43.98 kB / 0.6245 GB, free: 7.598 MB / 430.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.000787/0.6411, allocations: 305.8 kB / 0.6248 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.6415, allocations: 131.2 kB / 0.625 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/0.6571, allocations: 5.335 MB / 0.6302 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.6571, allocations: 16 kB / 0.6302 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6571, allocations: 0 / 0.6302 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.6572, allocations: 3.984 kB / 0.6302 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/0.6768, allocations: 7.207 MB / 0.6372 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.6768, allocations: 3.938 kB / 0.6372 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/0.6776, allocations: 136.7 kB / 0.6374 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007228/0.6849, allocations: 2.213 MB / 0.6395 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.6851, allocations: 27.98 kB / 0.6396 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02408/0.7092, allocations: 10.66 MB / 0.65 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7092, allocations: 0 / 0.65 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/0.7279, allocations: 6.439 MB / 0.6562 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/0.7286, allocations: 223.2 kB / 0.6565 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005251/0.7291, allocations: 27.94 kB / 0.6565 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.7309, allocations: 187.8 kB / 0.6567 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008253/0.7318, allocations: 220.6 kB / 0.6569 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.7319, allocations: 31.98 kB / 0.6569 GB, free: 5.945 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.7331, allocations: 0.7045 MB / 0.6576 GB, free: 5.234 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7332, allocations: 4 kB / 0.6576 GB, free: 5.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001677/0.7348, allocations: 483.4 kB / 0.6581 GB, free: 4.758 MB / 462.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.0003197/0.7352, allocations: 134.8 kB / 0.6582 GB, free: 4.621 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007757/0.7429, allocations: 3.011 MB / 0.6611 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.743, allocations: 0 / 0.6611 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005656/0.7486, allocations: 2.062 MB / 0.6631 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.7499, allocations: 122.3 kB / 0.6633 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.7558, allocations: 3.08 MB / 0.6663 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.7569, allocations: 1.148 MB / 0.6674 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006395/0.7576, allocations: 120.7 kB / 0.6675 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.758, allocations: 76.83 kB / 0.6676 GB, free: 10.91 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/0.758, allocations: 0 / 0.6676 GB, free: 10.91 MB / 478.1 MB Notification: Performance of Templates: time 0.04001/0.798, allocations: 24.1 MB / 0.6911 GB, free: 2.977 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) Environment - environmentSimulation: