Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1139/0.1139, allocations: 12.6 MB / 28.9 MB, free: 392 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 111.5 kB / 32.51 MB, free: 3.387 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 191.3 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4888/0.4888, allocations: 78.51 MB / 420 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 138.6 kB / 0.5565 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.143, allocations: 68.12 MB / 0.623 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007734/0.1508, allocations: 7.048 MB / 0.6299 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004904/0.1558, allocations: 2.079 MB / 0.632 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.1569, allocations: 15.94 kB / 0.632 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.1578, allocations: 257.8 kB / 0.6322 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.1599, allocations: 0.7764 MB / 0.633 GB, free: 5.195 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.00171/0.1616, allocations: 0.7473 MB / 0.6337 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.1636, allocations: 1.74 MB / 0.6354 GB, free: 2.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.1642, allocations: 399.6 kB / 0.6358 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009552/0.1652, allocations: 0.708 MB / 0.6365 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009072/0.1661, allocations: 0.84 MB / 0.6373 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.1663, allocations: 132 kB / 0.6374 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.1669, allocations: 267.9 kB / 0.6377 GB, free: 356 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.1672, allocations: 346.6 kB / 0.638 GB, free: 8 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.1678, allocations: 0.7146 MB / 0.6387 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.1698, allocations: 1.818 MB / 0.6405 GB, free: 13.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1698, allocations: 4 kB / 0.6405 GB, free: 13.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1698, allocations: 0 / 0.6405 GB, free: 13.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.1698, allocations: 4 kB / 0.6405 GB, free: 13.46 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.009114/0.1789, allocations: 2.84 MB / 0.6433 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.179, allocations: 15.98 kB / 0.6433 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/0.1838, allocations: 0.7943 MB / 0.6441 GB, free: 9.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.1857, allocations: 0.9294 MB / 0.645 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/0.1861, allocations: 323.6 kB / 0.6453 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.1863, allocations: 103.8 kB / 0.6454 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.1888, allocations: 1.287 MB / 0.6466 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.1888, allocations: 3.938 kB / 0.6466 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.189, allocations: 36 kB / 0.6467 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.189, allocations: 20 kB / 0.6467 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.1915, allocations: 1.202 MB / 0.6479 GB, free: 5.719 MB / 462.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.007093/0.1986, allocations: 4.164 MB / 0.6519 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.2019, allocations: 1.776 MB / 0.6537 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.2035, allocations: 0.8562 MB / 0.6545 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.2036, allocations: 24.97 kB / 0.6545 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001864/0.2055, allocations: 0.962 MB / 0.6555 GB, free: 13.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 4.749e-06/0.2055, allocations: 0 / 0.6555 GB, free: 13.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03116/0.2367, allocations: 7.885 MB / 0.6632 GB, free: 5.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.2368, allocations: 119.8 kB / 0.6633 GB, free: 5.527 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.2385, allocations: 1.041 MB / 0.6643 GB, free: 4.473 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.2388, allocations: 41.7 kB / 0.6643 GB, free: 4.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.2392, allocations: 0.5284 MB / 0.6648 GB, free: 3.891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000477/0.2397, allocations: 390.5 kB / 0.6652 GB, free: 3.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004749/0.2401, allocations: 247.4 kB / 0.6655 GB, free: 3.258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2403, allocations: 353.9 kB / 0.6658 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.2419, allocations: 0.7847 MB / 0.6666 GB, free: 2.121 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.2436, allocations: 0.9521 MB / 0.6675 GB, free: 1.133 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02129/0.2649, allocations: 5.489 MB / 0.6729 GB, free: 11.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.265, allocations: 3.938 kB / 0.6729 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01329/0.2783, allocations: 4.459 MB / 0.6772 GB, free: 7.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.311e-05/0.2784, allocations: 55.41 kB / 0.6773 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.2785, allocations: 4 kB / 0.6773 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005638/0.2841, allocations: 1.75 MB / 0.679 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.2857, allocations: 271.7 kB / 0.6792 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.3057, allocations: 9.036 MB / 0.6881 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.3078, allocations: 214.8 kB / 0.6883 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.3079, allocations: 47.98 kB / 0.6883 GB, free: 11.53 MB / 0.4981 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.0006345/0.3085, allocations: 299.7 kB / 0.6886 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.3088, allocations: 134.3 kB / 0.6887 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/0.3227, allocations: 4.397 MB / 0.693 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.3228, allocations: 16 kB / 0.693 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3228, allocations: 0 / 0.693 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.339e-05/0.3229, allocations: 3.984 kB / 0.693 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.3405, allocations: 6.259 MB / 0.6991 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/0.3406, allocations: 0 / 0.6991 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009373/0.3415, allocations: 135.8 kB / 0.6993 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006237/0.3478, allocations: 1.895 MB / 0.7011 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/0.3481, allocations: 27.98 kB / 0.7012 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/0.3704, allocations: 10.71 MB / 0.7116 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3705, allocations: 0 / 0.7116 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3796/0.7501, allocations: 5.424 MB / 0.7169 GB, free: 83.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006617/0.7508, allocations: 219.8 kB / 0.7171 GB, free: 82.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.751, allocations: 22.83 kB / 0.7171 GB, free: 82.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.7525, allocations: 137.2 kB / 0.7173 GB, free: 82.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009291/0.7535, allocations: 240.4 kB / 0.7175 GB, free: 82.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.7536, allocations: 27.56 kB / 0.7175 GB, free: 82.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001356/0.755, allocations: 0.7108 MB / 0.7182 GB, free: 82.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/0.755, allocations: 0 / 0.7182 GB, free: 82.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001989/0.757, allocations: 486 kB / 0.7187 GB, free: 82.87 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.0003377/0.7573, allocations: 134.3 kB / 0.7188 GB, free: 82.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00779/0.7651, allocations: 2.733 MB / 0.7215 GB, free: 82.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7652, allocations: 4.719 kB / 0.7215 GB, free: 82.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005821/0.771, allocations: 1.889 MB / 0.7233 GB, free: 81.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.7724, allocations: 121 kB / 0.7234 GB, free: 81.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/0.7782, allocations: 2.517 MB / 0.7259 GB, free: 80.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000911/0.7792, allocations: 1.153 MB / 0.727 GB, free: 79.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.7797, allocations: 86.89 kB / 0.7271 GB, free: 79.91 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.7797, allocations: 0 / 0.7271 GB, free: 79.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.03936/0.8191, allocations: 25.43 MB / 0.7519 GB, free: 68.05 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)