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.001239/0.001239, allocations: 100.1 kB / 15.88 MB, free: 12 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.34/1.34, allocations: 222.9 MB / 239.5 MB, free: 4.77 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.00145/0.00145, allocations: 192.4 kB / 289.8 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5485/0.5485, allocations: 91.9 MB / 431.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 79.88 kB / 0.5019 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3708, allocations: 71.26 MB / 0.5715 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007094/0.3779, allocations: 7.363 MB / 0.5786 GB, free: 32.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004631/0.3826, allocations: 2.193 MB / 0.5808 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.3843, allocations: 18.28 kB / 0.5808 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.3855, allocations: 193.5 kB / 0.581 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.3882, allocations: 0.6813 MB / 0.5817 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.3899, allocations: 0.7046 MB / 0.5823 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.3918, allocations: 1.629 MB / 0.5839 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/0.3923, allocations: 370.3 kB / 0.5843 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006927/0.393, allocations: 0.6307 MB / 0.5849 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.3936, allocations: 0.7939 MB / 0.5857 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.3938, allocations: 82.03 kB / 0.5858 GB, free: 28.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004452/0.3942, allocations: 202.3 kB / 0.5859 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.3945, allocations: 292.9 kB / 0.5862 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004534/0.3949, allocations: 0.6653 MB / 0.5869 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.3959, allocations: 1.367 MB / 0.5882 GB, free: 26.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.396, allocations: 1.625 kB / 0.5882 GB, free: 26.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.396, allocations: 4 kB / 0.5882 GB, free: 26.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.396, allocations: 0 / 0.5882 GB, free: 26.99 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.009267/0.4053, allocations: 2.844 MB / 0.591 GB, free: 25.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4053, allocations: 9.781 kB / 0.591 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/0.4104, allocations: 0.8007 MB / 0.5918 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.4122, allocations: 0.9146 MB / 0.5927 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/0.4126, allocations: 331.6 kB / 0.593 GB, free: 24.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.4127, allocations: 92.75 kB / 0.5931 GB, free: 24.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.4153, allocations: 1.292 MB / 0.5943 GB, free: 24.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.4154, allocations: 0 / 0.5943 GB, free: 24.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.4155, allocations: 36.44 kB / 0.5944 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4155, allocations: 21.25 kB / 0.5944 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.4181, allocations: 1.199 MB / 0.5956 GB, free: 23.64 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.007364/0.4255, allocations: 4.223 MB / 0.5997 GB, free: 21.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.4287, allocations: 1.758 MB / 0.6014 GB, free: 20.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.4304, allocations: 0.8609 MB / 0.6023 GB, free: 19.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.4306, allocations: 12.25 kB / 0.6023 GB, free: 19.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002088/0.4327, allocations: 0.9659 MB / 0.6032 GB, free: 19.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.467e-06/0.4327, allocations: 1.062 kB / 0.6032 GB, free: 19.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03314/0.4658, allocations: 7.757 MB / 0.6108 GB, free: 17.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.4659, allocations: 124.3 kB / 0.6109 GB, free: 17.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.4677, allocations: 1.04 MB / 0.6119 GB, free: 17.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003269/0.4681, allocations: 43 kB / 0.612 GB, free: 17.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.4685, allocations: 0.5189 MB / 0.6125 GB, free: 16.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.4689, allocations: 396.6 kB / 0.6128 GB, free: 16.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/0.4694, allocations: 244.1 kB / 0.6131 GB, free: 16.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.4695, allocations: 354.7 kB / 0.6134 GB, free: 16.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.4714, allocations: 0.7888 MB / 0.6142 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.4733, allocations: 0.9446 MB / 0.6151 GB, free: 15.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02158/0.4949, allocations: 5.482 MB / 0.6205 GB, free: 12.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.4949, allocations: 7.938 kB / 0.6205 GB, free: 12.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0123/0.5072, allocations: 4.452 MB / 0.6248 GB, free: 7.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/0.5073, allocations: 67.66 kB / 0.6249 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.5073, allocations: 8 kB / 0.6249 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005346/0.5127, allocations: 1.737 MB / 0.6266 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.5142, allocations: 279.6 kB / 0.6269 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/0.5319, allocations: 8.319 MB / 0.635 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.5341, allocations: 206.8 kB / 0.6352 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/0.5343, allocations: 51.98 kB / 0.6352 GB, free: 12.76 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.0007008/0.535, allocations: 300.4 kB / 0.6355 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.5354, allocations: 138.3 kB / 0.6356 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/0.5499, allocations: 4.401 MB / 0.6399 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.5499, allocations: 8 kB / 0.6399 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.5499, allocations: 4 kB / 0.6399 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/0.55, allocations: 3.984 kB / 0.64 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.5671, allocations: 6.286 MB / 0.6461 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.5671, allocations: 0 / 0.6461 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.568, allocations: 123.9 kB / 0.6462 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006407/0.5744, allocations: 1.899 MB / 0.6481 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/0.5747, allocations: 27.98 kB / 0.6481 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02166/0.5964, allocations: 9.75 MB / 0.6576 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5964, allocations: 0 / 0.6576 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.6133, allocations: 5.423 MB / 0.6629 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/0.6139, allocations: 223.2 kB / 0.6631 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.6141, allocations: 19.94 kB / 0.6631 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.6155, allocations: 143.8 kB / 0.6633 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007751/0.6163, allocations: 236.6 kB / 0.6635 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.6164, allocations: 28 kB / 0.6635 GB, free: 15.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.6175, allocations: 0.7006 MB / 0.6642 GB, free: 14.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6175, allocations: 0 / 0.6642 GB, free: 14.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001472/0.6189, allocations: 483.4 kB / 0.6647 GB, free: 14.05 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.0002908/0.6192, allocations: 147.6 kB / 0.6648 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006794/0.626, allocations: 2.696 MB / 0.6674 GB, free: 11.17 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6261, allocations: 0 / 0.6674 GB, free: 11.17 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005227/0.6313, allocations: 1.827 MB / 0.6692 GB, free: 9.305 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.6327, allocations: 129.3 kB / 0.6694 GB, free: 9.184 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.6382, allocations: 3.016 MB / 0.6723 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/0.639, allocations: 1.159 MB / 0.6734 GB, free: 4.938 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.6395, allocations: 75.41 kB / 0.6735 GB, free: 4.863 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6395, allocations: 0 / 0.6735 GB, free: 4.863 MB / 478.1 MB Notification: Performance of Templates: time 0.03894/0.6785, allocations: 25.29 MB / 0.6982 GB, free: 11.57 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)