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.001361/0.001361, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.343/1.343, allocations: 222.9 MB / 240.1 MB, free: 4.379 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.001471/0.001471, allocations: 188.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4558/0.4558, allocations: 78.53 MB / 419.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 79.89 kB / 0.5543 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3015, allocations: 68.17 MB / 0.6209 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005472/0.307, allocations: 6.991 MB / 0.6277 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.3103, allocations: 2.113 MB / 0.6298 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004962/0.3108, allocations: 12 kB / 0.6298 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005941/0.3114, allocations: 265.8 kB / 0.63 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.3129, allocations: 0.8388 MB / 0.6308 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.001501/0.3144, allocations: 0.746 MB / 0.6316 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.316, allocations: 1.733 MB / 0.6333 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/0.3165, allocations: 407.3 kB / 0.6337 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007913/0.3173, allocations: 0.712 MB / 0.6343 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008506/0.3181, allocations: 0.84 MB / 0.6352 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.3183, allocations: 132 kB / 0.6353 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.3188, allocations: 267.9 kB / 0.6355 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.3191, allocations: 346.5 kB / 0.6359 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005456/0.3196, allocations: 0.7108 MB / 0.6366 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.3212, allocations: 1.82 MB / 0.6384 GB, free: 8.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3212, allocations: 0 / 0.6384 GB, free: 8.258 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3212, allocations: 0 / 0.6384 GB, free: 8.258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.3213, allocations: 3.938 kB / 0.6384 GB, free: 8.254 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.00901/0.3303, allocations: 2.84 MB / 0.6411 GB, free: 5.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3303, allocations: 12.03 kB / 0.6411 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005164/0.3355, allocations: 0.802 MB / 0.6419 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.3372, allocations: 0.9371 MB / 0.6428 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.3375, allocations: 323.6 kB / 0.6431 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.3377, allocations: 95.98 kB / 0.6432 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.3406, allocations: 1.291 MB / 0.6445 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3407, allocations: 0 / 0.6445 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.3408, allocations: 36 kB / 0.6445 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3408, allocations: 24 kB / 0.6446 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002753/0.3436, allocations: 1.202 MB / 0.6457 GB, free: 0.5078 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.006926/0.3505, allocations: 4.137 MB / 0.6498 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.3539, allocations: 1.771 MB / 0.6515 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.3557, allocations: 0.8618 MB / 0.6523 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.535e-05/0.3558, allocations: 20.91 kB / 0.6524 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002022/0.3578, allocations: 0.966 MB / 0.6533 GB, free: 8.441 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 3.236e-06/0.3578, allocations: 0 / 0.6533 GB, free: 8.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.03361/0.3914, allocations: 7.889 MB / 0.661 GB, free: 496 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.3915, allocations: 123.8 kB / 0.6611 GB, free: 348 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.393, allocations: 1.041 MB / 0.6621 GB, free: 15.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001619/0.3932, allocations: 45.7 kB / 0.6622 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.3936, allocations: 0.5245 MB / 0.6627 GB, free: 14.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/0.394, allocations: 390.4 kB / 0.6631 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/0.3945, allocations: 239.5 kB / 0.6633 GB, free: 14.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3946, allocations: 357.9 kB / 0.6636 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.3964, allocations: 0.7886 MB / 0.6644 GB, free: 12.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.3983, allocations: 0.9483 MB / 0.6653 GB, free: 11.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02209/0.4204, allocations: 5.489 MB / 0.6707 GB, free: 6.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4204, allocations: 0 / 0.6707 GB, free: 6.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01449/0.4349, allocations: 4.467 MB / 0.6751 GB, free: 1.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.435, allocations: 55.41 kB / 0.6751 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.435, allocations: 4 kB / 0.6751 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006215/0.4412, allocations: 1.737 MB / 0.6768 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.4426, allocations: 279.6 kB / 0.6771 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/0.4644, allocations: 9.04 MB / 0.6859 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.4662, allocations: 206.8 kB / 0.6861 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.4665, allocations: 47.98 kB / 0.6861 GB, free: 6.348 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.0006714/0.4671, allocations: 299.7 kB / 0.6864 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.4675, allocations: 130.4 kB / 0.6866 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/0.4832, allocations: 4.404 MB / 0.6909 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.4832, allocations: 3.984 kB / 0.6909 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4832, allocations: 4 kB / 0.6909 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.4836, allocations: 227.2 kB / 0.6911 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.4839, allocations: 23.88 kB / 0.6911 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.4853, allocations: 139.8 kB / 0.6912 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/0.4866, allocations: 0.5119 MB / 0.6917 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008221/0.4949, allocations: 2.64 MB / 0.6943 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005704/0.5006, allocations: 2.641 MB / 0.6969 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001693/0.5023, allocations: 0.6871 MB / 0.6976 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001137/0.5034, allocations: 0.7006 MB / 0.6983 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of Backend: time 6.01e-07/0.5034, allocations: 0 / 0.6983 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00666/0.5101, allocations: 2.19 MB / 0.7004 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003911/0.514, allocations: 3.031 MB / 0.7034 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of Templates: time 0.03796/0.552, allocations: 25.28 MB / 0.728 GB, free: 11.21 MB / 0.5294 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)