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.001854/0.001854, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.404/1.404, allocations: 222.9 MB / 239 MB, free: 4.742 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.00131/0.00131, allocations: 211.5 kB / 289.3 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5149/0.5149, allocations: 91.89 MB / 431.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 83.86 kB / 0.5014 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4191, allocations: 71.25 MB / 0.571 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.006284/0.4254, allocations: 7.362 MB / 0.5782 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.4296, allocations: 2.177 MB / 0.5803 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009185/0.4306, allocations: 18.94 kB / 0.5803 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.4313, allocations: 198.9 kB / 0.5805 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.433, allocations: 0.6636 MB / 0.5811 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.4344, allocations: 0.7021 MB / 0.5818 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.4359, allocations: 1.726 MB / 0.5835 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005052/0.4365, allocations: 397.9 kB / 0.5839 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009175/0.4374, allocations: 0.713 MB / 0.5846 GB, free: 28.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.4381, allocations: 0.839 MB / 0.5854 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.4383, allocations: 138.9 kB / 0.5855 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.4388, allocations: 261.2 kB / 0.5858 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.4391, allocations: 344.3 kB / 0.5861 GB, free: 27.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.4397, allocations: 0.7275 MB / 0.5868 GB, free: 27.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.4413, allocations: 1.795 MB / 0.5886 GB, free: 26.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4413, allocations: 0 / 0.5886 GB, free: 26.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4413, allocations: 1.406 kB / 0.5886 GB, free: 26.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.4414, allocations: 0 / 0.5886 GB, free: 26.41 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.009068/0.4504, allocations: 2.845 MB / 0.5914 GB, free: 25.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.4505, allocations: 8.5 kB / 0.5914 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/0.4556, allocations: 0.7951 MB / 0.5921 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.4573, allocations: 0.9252 MB / 0.5931 GB, free: 24.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.4577, allocations: 322.7 kB / 0.5934 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.458, allocations: 92.66 kB / 0.5934 GB, free: 23.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/0.4609, allocations: 1.295 MB / 0.5947 GB, free: 23.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.461, allocations: 0 / 0.5947 GB, free: 23.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.4611, allocations: 31.84 kB / 0.5947 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.4611, allocations: 20.94 kB / 0.5948 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.464, allocations: 1.204 MB / 0.5959 GB, free: 23.07 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.00856/0.4725, allocations: 4.22 MB / 0.6001 GB, free: 20.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003331/0.4759, allocations: 1.761 MB / 0.6018 GB, free: 19.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.4777, allocations: 0.8605 MB / 0.6026 GB, free: 19.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.4779, allocations: 18.11 kB / 0.6026 GB, free: 19.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002206/0.4801, allocations: 0.9584 MB / 0.6036 GB, free: 18.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 4.308e-06/0.4801, allocations: 1.406 kB / 0.6036 GB, free: 18.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03385/0.514, allocations: 7.758 MB / 0.6111 GB, free: 17.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.5141, allocations: 115.8 kB / 0.6113 GB, free: 17.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.516, allocations: 1.039 MB / 0.6123 GB, free: 16.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003503/0.5163, allocations: 46.84 kB / 0.6123 GB, free: 16.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.5167, allocations: 0.5229 MB / 0.6128 GB, free: 16.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/0.5171, allocations: 389.4 kB / 0.6132 GB, free: 16.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005379/0.5177, allocations: 252.3 kB / 0.6134 GB, free: 15.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5178, allocations: 359 kB / 0.6138 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.5197, allocations: 0.7847 MB / 0.6146 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.5217, allocations: 0.9417 MB / 0.6155 GB, free: 14.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0213/0.543, allocations: 5.501 MB / 0.6208 GB, free: 11.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.5431, allocations: 3.938 kB / 0.6208 GB, free: 11.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01248/0.5556, allocations: 4.46 MB / 0.6252 GB, free: 6.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.5557, allocations: 63.39 kB / 0.6253 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5557, allocations: 4 kB / 0.6253 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005317/0.561, allocations: 1.737 MB / 0.627 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.5625, allocations: 279.6 kB / 0.6272 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/0.5819, allocations: 9.067 MB / 0.6361 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.5841, allocations: 206.8 kB / 0.6363 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.5842, allocations: 47.98 kB / 0.6363 GB, free: 11.05 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.0006735/0.5849, allocations: 299.7 kB / 0.6366 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.5851, allocations: 134.4 kB / 0.6367 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.6001, allocations: 4.393 MB / 0.641 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.6002, allocations: 16 kB / 0.641 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6002, allocations: 7.922 kB / 0.6411 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/0.6003, allocations: 3.984 kB / 0.6411 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/0.618, allocations: 6.271 MB / 0.6472 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/0.618, allocations: 3.984 kB / 0.6472 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008693/0.6189, allocations: 127.8 kB / 0.6473 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006353/0.6253, allocations: 1.903 MB / 0.6492 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/0.6255, allocations: 27.98 kB / 0.6492 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02312/0.6486, allocations: 10.73 MB / 0.6597 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6487, allocations: 0 / 0.6597 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/0.6655, allocations: 5.427 MB / 0.665 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006996/0.6663, allocations: 223.3 kB / 0.6652 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.6665, allocations: 23.94 kB / 0.6652 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.6679, allocations: 131.8 kB / 0.6653 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008028/0.6687, allocations: 240.6 kB / 0.6656 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.6688, allocations: 28 kB / 0.6656 GB, free: 12.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.6699, allocations: 0.7045 MB / 0.6663 GB, free: 11.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6699, allocations: 4 kB / 0.6663 GB, free: 11.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001487/0.6714, allocations: 487.4 kB / 0.6667 GB, free: 11.35 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.0002975/0.6717, allocations: 132.5 kB / 0.6669 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007446/0.6791, allocations: 2.765 MB / 0.6696 GB, free: 8.414 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.6792, allocations: 4 kB / 0.6696 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005105/0.6843, allocations: 1.899 MB / 0.6714 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.6856, allocations: 129.3 kB / 0.6716 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.691, allocations: 2.954 MB / 0.6744 GB, free: 3.363 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/0.6918, allocations: 1.155 MB / 0.6756 GB, free: 2.172 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006016/0.6924, allocations: 116.3 kB / 0.6757 GB, free: 2.055 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.6927, allocations: 83.41 kB / 0.6758 GB, free: 1.973 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6927, allocations: 0 / 0.6758 GB, free: 1.973 MB / 478.1 MB Notification: Performance of Templates: time 0.0392/0.7319, allocations: 26.13 MB / 0.7013 GB, free: 7.871 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)