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.001398/0.001398, allocations: 102.2 kB / 16.4 MB, free: 6.461 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.444/1.444, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001565/0.001565, allocations: 192.4 kB / 290.4 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5798/0.5798, allocations: 91.9 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 78.27 kB / 0.5734 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1572, allocations: 71.28 MB / 0.643 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007924/0.1652, allocations: 7.02 MB / 0.6499 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004617/0.1698, allocations: 2.117 MB / 0.6519 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000956/0.1708, allocations: 15.94 kB / 0.6519 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008449/0.1717, allocations: 257.8 kB / 0.6522 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.1737, allocations: 0.7714 MB / 0.6529 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1754, allocations: 0.7499 MB / 0.6537 GB, free: 8.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.1774, allocations: 1.74 MB / 0.6554 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000569/0.178, allocations: 399.6 kB / 0.6558 GB, free: 6.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009098/0.1789, allocations: 0.7002 MB / 0.6564 GB, free: 5.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009436/0.1799, allocations: 0.84 MB / 0.6573 GB, free: 5.027 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.1801, allocations: 132 kB / 0.6574 GB, free: 4.898 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005455/0.1806, allocations: 263.9 kB / 0.6576 GB, free: 4.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.1809, allocations: 346.6 kB / 0.658 GB, free: 4.301 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.1815, allocations: 0.7224 MB / 0.6587 GB, free: 3.574 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.1834, allocations: 1.814 MB / 0.6604 GB, free: 1.754 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1835, allocations: 3.984 kB / 0.6604 GB, free: 1.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1835, allocations: 0 / 0.6604 GB, free: 1.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.693e-05/0.1835, allocations: 0 / 0.6604 GB, free: 1.75 MB / 462.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.009345/0.1929, allocations: 2.842 MB / 0.6632 GB, free: 14.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1929, allocations: 12.03 kB / 0.6632 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.198, allocations: 0.7981 MB / 0.664 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.2, allocations: 0.9295 MB / 0.6649 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.2005, allocations: 335.5 kB / 0.6652 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.2007, allocations: 92 kB / 0.6653 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/0.2035, allocations: 1.287 MB / 0.6666 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2035, allocations: 0 / 0.6666 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.2037, allocations: 40 kB / 0.6666 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.2037, allocations: 24 kB / 0.6666 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.2064, allocations: 1.191 MB / 0.6678 GB, free: 10.02 MB / 478.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.007785/0.2142, allocations: 4.195 MB / 0.6719 GB, free: 5.652 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.2178, allocations: 1.768 MB / 0.6736 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.2198, allocations: 0.861 MB / 0.6745 GB, free: 2.891 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.2199, allocations: 12.98 kB / 0.6745 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002229/0.2222, allocations: 0.9644 MB / 0.6754 GB, free: 1.898 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 4.208e-06/0.2222, allocations: 0 / 0.6754 GB, free: 1.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03348/0.2557, allocations: 7.757 MB / 0.683 GB, free: 10.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.2558, allocations: 115.8 kB / 0.6831 GB, free: 9.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.2578, allocations: 1.041 MB / 0.6841 GB, free: 8.883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003234/0.2581, allocations: 45.7 kB / 0.6842 GB, free: 8.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004837/0.2586, allocations: 0.5246 MB / 0.6847 GB, free: 8.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006305/0.2593, allocations: 394.4 kB / 0.6851 GB, free: 7.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006976/0.26, allocations: 243.5 kB / 0.6853 GB, free: 7.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2602, allocations: 353.9 kB / 0.6856 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.2621, allocations: 0.7886 MB / 0.6864 GB, free: 6.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.2641, allocations: 0.9444 MB / 0.6873 GB, free: 5.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0224/0.2865, allocations: 5.481 MB / 0.6927 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.2866, allocations: 3.938 kB / 0.6927 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01525/0.3018, allocations: 4.455 MB / 0.697 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.091e-05/0.302, allocations: 59.41 kB / 0.6971 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.302, allocations: 4 kB / 0.6971 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006393/0.3084, allocations: 1.741 MB / 0.6988 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.31, allocations: 275.6 kB / 0.6991 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/0.3337, allocations: 9.029 MB / 0.7079 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.3361, allocations: 214.8 kB / 0.7081 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/0.3366, allocations: 43.98 kB / 0.7081 GB, free: 15.96 MB / 0.5137 GB 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.001261/0.3379, allocations: 307.8 kB / 0.7084 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006897/0.3386, allocations: 138.3 kB / 0.7085 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/0.3549, allocations: 4.397 MB / 0.7128 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.355, allocations: 12 kB / 0.7129 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.355, allocations: 4 kB / 0.7129 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/0.355, allocations: 3.984 kB / 0.7129 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/0.3739, allocations: 6.271 MB / 0.719 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.3739, allocations: 0 / 0.719 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/0.3748, allocations: 135.8 kB / 0.7191 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006865/0.3817, allocations: 1.895 MB / 0.721 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002856/0.382, allocations: 20 kB / 0.721 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02529/0.4073, allocations: 10.71 MB / 0.7314 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4074, allocations: 4 kB / 0.7314 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/0.4256, allocations: 5.433 MB / 0.7367 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.4262, allocations: 223.2 kB / 0.737 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005005/0.4268, allocations: 24 kB / 0.737 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.4285, allocations: 135.8 kB / 0.7371 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009471/0.4294, allocations: 244.6 kB / 0.7373 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/0.4297, allocations: 31.98 kB / 0.7374 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001538/0.4312, allocations: 0.7006 MB / 0.7381 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4312, allocations: 0 / 0.7381 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002185/0.4334, allocations: 491.4 kB / 0.7385 GB, free: 280 kB / 0.5294 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.0004437/0.4339, allocations: 140.6 kB / 0.7387 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007967/0.4419, allocations: 2.726 MB / 0.7413 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4419, allocations: 0 / 0.7413 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005939/0.4478, allocations: 1.882 MB / 0.7432 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.4495, allocations: 132.5 kB / 0.7433 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/0.4561, allocations: 2.501 MB / 0.7457 GB, free: 8.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.4572, allocations: 1.163 MB / 0.7469 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/0.4578, allocations: 83.42 kB / 0.7469 GB, free: 7.508 MB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/0.4578, allocations: 3.938 kB / 0.747 GB, free: 7.504 MB / 0.545 GB Notification: Performance of Templates: time 0.413/0.8708, allocations: 25.44 MB / 0.7718 GB, free: 116.2 MB / 0.5606 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)