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.001264/0.001264, allocations: 108.6 kB / 15.73 MB, free: 72 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.432/1.432, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001441/0.001441, allocations: 187.7 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5312/0.5312, allocations: 91.9 MB / 431.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 76.45 kB / 0.5727 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1231, allocations: 71.28 MB / 0.6423 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007282/0.1304, allocations: 7.002 MB / 0.6492 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.1351, allocations: 2.121 MB / 0.6512 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.1361, allocations: 16 kB / 0.6513 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008337/0.137, allocations: 265.8 kB / 0.6515 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.1393, allocations: 0.7676 MB / 0.6523 GB, free: 9.383 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.1413, allocations: 0.7578 MB / 0.653 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.1436, allocations: 1.737 MB / 0.6547 GB, free: 6.891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006324/0.1443, allocations: 395.6 kB / 0.6551 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.1453, allocations: 0.708 MB / 0.6558 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.1464, allocations: 0.84 MB / 0.6566 GB, free: 4.926 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.1466, allocations: 132 kB / 0.6567 GB, free: 4.797 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006704/0.1473, allocations: 267.9 kB / 0.657 GB, free: 4.535 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.1477, allocations: 342.6 kB / 0.6573 GB, free: 4.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007519/0.1485, allocations: 0.7184 MB / 0.658 GB, free: 3.477 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.1511, allocations: 1.828 MB / 0.6598 GB, free: 1.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1511, allocations: 0 / 0.6598 GB, free: 1.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1511, allocations: 0 / 0.6598 GB, free: 1.641 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.591e-05/0.1511, allocations: 0 / 0.6598 GB, free: 1.641 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.009125/0.1603, allocations: 2.889 MB / 0.6626 GB, free: 14.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1603, allocations: 8.031 kB / 0.6626 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005147/0.1655, allocations: 0.8069 MB / 0.6634 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.1672, allocations: 0.9382 MB / 0.6643 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004066/0.1676, allocations: 331.5 kB / 0.6646 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.1678, allocations: 88 kB / 0.6647 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.1706, allocations: 1.295 MB / 0.666 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1706, allocations: 0 / 0.666 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.1708, allocations: 36 kB / 0.666 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.1708, allocations: 23.94 kB / 0.666 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.1735, allocations: 1.195 MB / 0.6672 GB, free: 9.844 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.007387/0.1809, allocations: 4.2 MB / 0.6713 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.1844, allocations: 1.769 MB / 0.673 GB, free: 3.582 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.1862, allocations: 0.8601 MB / 0.6739 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.1863, allocations: 16.98 kB / 0.6739 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/0.1883, allocations: 0.9583 MB / 0.6748 GB, free: 1.723 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 2.645e-06/0.1883, allocations: 3.938 kB / 0.6748 GB, free: 1.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03228/0.2206, allocations: 7.765 MB / 0.6824 GB, free: 9.883 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.2208, allocations: 115.8 kB / 0.6825 GB, free: 9.746 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.2225, allocations: 1.037 MB / 0.6835 GB, free: 8.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003614/0.2229, allocations: 45.7 kB / 0.6836 GB, free: 8.645 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005081/0.2234, allocations: 0.5408 MB / 0.6841 GB, free: 8.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004961/0.2239, allocations: 400.5 kB / 0.6845 GB, free: 7.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004785/0.2244, allocations: 251.5 kB / 0.6847 GB, free: 7.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2245, allocations: 357.9 kB / 0.6851 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.2263, allocations: 0.7847 MB / 0.6858 GB, free: 6.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.2281, allocations: 0.9444 MB / 0.6868 GB, free: 5.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02132/0.2495, allocations: 5.481 MB / 0.6921 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.2495, allocations: 7.875 kB / 0.6921 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01444/0.2639, allocations: 4.46 MB / 0.6965 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/0.264, allocations: 63.39 kB / 0.6965 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2641, allocations: 4 kB / 0.6965 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006172/0.2702, allocations: 1.729 MB / 0.6982 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.2717, allocations: 279.6 kB / 0.6985 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02287/0.2946, allocations: 9.054 MB / 0.7073 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.2966, allocations: 211.1 kB / 0.7075 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.297, allocations: 47.98 kB / 0.7076 GB, free: 15.72 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.000801/0.2978, allocations: 303.6 kB / 0.7079 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00041/0.2982, allocations: 135.1 kB / 0.708 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.3135, allocations: 4.405 MB / 0.7123 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.3135, allocations: 12 kB / 0.7123 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3135, allocations: 0 / 0.7123 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.3136, allocations: 3.984 kB / 0.7123 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/0.3315, allocations: 6.283 MB / 0.7185 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.3315, allocations: 0 / 0.7185 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/0.3323, allocations: 127.8 kB / 0.7186 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006858/0.3392, allocations: 1.895 MB / 0.7204 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002791/0.3395, allocations: 31.92 kB / 0.7205 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02472/0.3642, allocations: 10.72 MB / 0.7309 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3643, allocations: 0 / 0.7309 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/0.3816, allocations: 5.441 MB / 0.7362 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.3821, allocations: 231.9 kB / 0.7365 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.3825, allocations: 20 kB / 0.7365 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.384, allocations: 139.8 kB / 0.7366 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008018/0.3848, allocations: 236.6 kB / 0.7368 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.3849, allocations: 36.05 kB / 0.7369 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001215/0.3862, allocations: 0.7006 MB / 0.7376 GB, free: 500 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3862, allocations: 0 / 0.7376 GB, free: 500 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001605/0.3878, allocations: 491.6 kB / 0.738 GB, free: 8 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.0003332/0.3881, allocations: 140.5 kB / 0.7382 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007384/0.3955, allocations: 2.734 MB / 0.7408 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3956, allocations: 0 / 0.7408 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005344/0.4009, allocations: 1.884 MB / 0.7427 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.402, allocations: 134.9 kB / 0.7428 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/0.4073, allocations: 2.519 MB / 0.7453 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.4083, allocations: 1.155 MB / 0.7464 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000483/0.4088, allocations: 124.2 kB / 0.7465 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.4091, allocations: 79.42 kB / 0.7466 GB, free: 7.102 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/0.4091, allocations: 0 / 0.7466 GB, free: 7.102 MB / 0.545 GB Notification: Performance of Templates: time 0.3554/0.7645, allocations: 27.59 MB / 0.7735 GB, free: 116.9 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)