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.005633/0.005633, allocations: 108.4 kB / 15.74 MB, free: 6.453 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.374/1.374, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001389/0.001389, allocations: 184.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4547/0.4547, allocations: 78.53 MB / 418.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 84.08 kB / 0.5536 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3886, allocations: 68.17 MB / 0.6202 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.006261/0.3949, allocations: 6.993 MB / 0.627 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.399, allocations: 2.109 MB / 0.6291 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.4003, allocations: 15.94 kB / 0.6291 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.4013, allocations: 269.8 kB / 0.6294 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.4038, allocations: 0.8204 MB / 0.6302 GB, free: 15.99 MB / 446.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.002004/0.4058, allocations: 0.7529 MB / 0.6309 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.4084, allocations: 1.729 MB / 0.6326 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007842/0.4092, allocations: 411.3 kB / 0.633 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.4104, allocations: 0.7042 MB / 0.6337 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.4118, allocations: 0.8438 MB / 0.6345 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004754/0.4122, allocations: 132 kB / 0.6346 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008593/0.4131, allocations: 271.9 kB / 0.6349 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005272/0.4137, allocations: 350.5 kB / 0.6352 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.4147, allocations: 0.7146 MB / 0.6359 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.4175, allocations: 1.808 MB / 0.6377 GB, free: 8.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4175, allocations: 0 / 0.6377 GB, free: 8.262 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4175, allocations: 0 / 0.6377 GB, free: 8.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.145e-05/0.4176, allocations: 4 kB / 0.6377 GB, free: 8.258 MB / 446.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.01075/0.4284, allocations: 2.848 MB / 0.6404 GB, free: 5.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4284, allocations: 8.031 kB / 0.6405 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/0.4341, allocations: 0.802 MB / 0.6412 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.4363, allocations: 0.9294 MB / 0.6421 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004448/0.4367, allocations: 331.6 kB / 0.6425 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.4371, allocations: 92 kB / 0.6426 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003325/0.4404, allocations: 1.291 MB / 0.6438 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.4405, allocations: 0 / 0.6438 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.4406, allocations: 43.92 kB / 0.6439 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.4407, allocations: 20 kB / 0.6439 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/0.4437, allocations: 1.198 MB / 0.645 GB, free: 0.5117 MB / 446.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.008437/0.4522, allocations: 4.152 MB / 0.6491 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/0.456, allocations: 1.768 MB / 0.6508 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.458, allocations: 0.8562 MB / 0.6517 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.4582, allocations: 24.92 kB / 0.6517 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002365/0.4606, allocations: 0.9544 MB / 0.6526 GB, free: 8.445 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 4.709e-06/0.4606, allocations: 0 / 0.6526 GB, free: 8.445 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.0355/0.4961, allocations: 7.901 MB / 0.6603 GB, free: 488 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.4963, allocations: 119.8 kB / 0.6604 GB, free: 344 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.4982, allocations: 1.037 MB / 0.6615 GB, free: 15.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003215/0.4986, allocations: 45.7 kB / 0.6615 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.4991, allocations: 0.5246 MB / 0.662 GB, free: 14.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006347/0.4997, allocations: 394.4 kB / 0.6624 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007531/0.5005, allocations: 247.5 kB / 0.6626 GB, free: 14.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5007, allocations: 353.9 kB / 0.663 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.5026, allocations: 0.7808 MB / 0.6637 GB, free: 12.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.5047, allocations: 0.9406 MB / 0.6646 GB, free: 11.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02348/0.5282, allocations: 5.496 MB / 0.67 GB, free: 6.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.5283, allocations: 3.938 kB / 0.67 GB, free: 6.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01557/0.5439, allocations: 4.455 MB / 0.6744 GB, free: 1.883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.1e-05/0.544, allocations: 59.41 kB / 0.6744 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.544, allocations: 4 kB / 0.6744 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/0.5505, allocations: 1.741 MB / 0.6761 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.5522, allocations: 283.6 kB / 0.6764 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/0.5749, allocations: 9.044 MB / 0.6852 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.5769, allocations: 202.8 kB / 0.6854 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/0.5772, allocations: 51.97 kB / 0.6855 GB, free: 6.34 MB / 494.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.0008389/0.5781, allocations: 297.7 kB / 0.6858 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.5785, allocations: 130.4 kB / 0.6859 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/0.5943, allocations: 4.397 MB / 0.6902 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.5944, allocations: 12 kB / 0.6902 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5944, allocations: 3.938 kB / 0.6902 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/0.5944, allocations: 7.969 kB / 0.6902 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/0.6134, allocations: 6.267 MB / 0.6963 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/0.6134, allocations: 0 / 0.6963 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009707/0.6144, allocations: 123.9 kB / 0.6964 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00713/0.6216, allocations: 1.907 MB / 0.6983 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002834/0.6219, allocations: 24 kB / 0.6983 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02573/0.6476, allocations: 10.72 MB / 0.7088 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6477, allocations: 0 / 0.7088 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/0.6661, allocations: 5.429 MB / 0.7141 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.6666, allocations: 219.2 kB / 0.7143 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/0.6671, allocations: 24 kB / 0.7143 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.6687, allocations: 135.8 kB / 0.7145 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008524/0.6695, allocations: 240.6 kB / 0.7147 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.6697, allocations: 31.98 kB / 0.7147 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001273/0.671, allocations: 0.7006 MB / 0.7154 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.671, allocations: 0 / 0.7154 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001908/0.6729, allocations: 491.4 kB / 0.7159 GB, free: 6.68 MB / 0.5137 GB 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.0004028/0.6733, allocations: 127.2 kB / 0.716 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007804/0.6811, allocations: 2.738 MB / 0.7187 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6812, allocations: 7.875 kB / 0.7187 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005677/0.6868, allocations: 1.882 MB / 0.7205 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.6882, allocations: 127.8 kB / 0.7206 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/0.6937, allocations: 2.477 MB / 0.723 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008225/0.6945, allocations: 1.159 MB / 0.7242 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004825/0.695, allocations: 116.3 kB / 0.7243 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.6953, allocations: 79.42 kB / 0.7244 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.6953, allocations: 3.938 kB / 0.7244 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.04428/0.7396, allocations: 27.62 MB / 0.7513 GB, free: 2.199 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (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)