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.08316/0.08316, allocations: 12.6 MB / 28.9 MB, free: 0.6055 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 103.5 kB / 32.5 MB, free: 3.547 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.441/1.441, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.00145/0.00145, allocations: 184.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4661/0.4661, allocations: 78.51 MB / 420 MB, free: 11.26 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.002595/0.002595, allocations: 138.5 kB / 0.5565 GB, free: 28.69 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1294, allocations: 68.12 MB / 0.623 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007967/0.1374, allocations: 7.051 MB / 0.6299 GB, free: 8.344 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004811/0.1423, allocations: 2.086 MB / 0.632 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.1436, allocations: 15.94 kB / 0.632 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.1448, allocations: 257.8 kB / 0.6322 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.1476, allocations: 0.7734 MB / 0.633 GB, free: 5.203 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.002026/0.1496, allocations: 0.7474 MB / 0.6337 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.1524, allocations: 1.737 MB / 0.6354 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008066/0.1532, allocations: 399.6 kB / 0.6358 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.1546, allocations: 0.7118 MB / 0.6365 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.156, allocations: 0.8284 MB / 0.6373 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000535/0.1566, allocations: 136 kB / 0.6374 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009216/0.1575, allocations: 275.8 kB / 0.6377 GB, free: 364 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005752/0.1581, allocations: 342.6 kB / 0.638 GB, free: 20 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.1592, allocations: 0.7263 MB / 0.6387 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.1614, allocations: 1.81 MB / 0.6405 GB, free: 13.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1615, allocations: 4 kB / 0.6405 GB, free: 13.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1615, allocations: 0 / 0.6405 GB, free: 13.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.1615, allocations: 0 / 0.6405 GB, free: 13.47 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.01001/0.1715, allocations: 2.848 MB / 0.6433 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1716, allocations: 11.98 kB / 0.6433 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005452/0.177, allocations: 0.7943 MB / 0.6441 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.1794, allocations: 0.9178 MB / 0.645 GB, free: 8.773 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004767/0.1799, allocations: 335.6 kB / 0.6453 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003989/0.1803, allocations: 95.91 kB / 0.6454 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/0.1837, allocations: 1.295 MB / 0.6466 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.1838, allocations: 0 / 0.6466 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.1839, allocations: 39.92 kB / 0.6467 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.184, allocations: 23.94 kB / 0.6467 GB, free: 6.926 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.1869, allocations: 1.202 MB / 0.6479 GB, free: 5.723 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.007912/0.1948, allocations: 4.164 MB / 0.6519 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/0.1984, allocations: 1.769 MB / 0.6537 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.2002, allocations: 0.8679 MB / 0.6545 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.2004, allocations: 16.98 kB / 0.6545 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002104/0.2025, allocations: 0.962 MB / 0.6555 GB, free: 13.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.827e-06/0.2025, allocations: 0 / 0.6555 GB, free: 13.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03384/0.2363, allocations: 7.897 MB / 0.6632 GB, free: 5.664 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/0.2365, allocations: 115.8 kB / 0.6633 GB, free: 5.527 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.2384, allocations: 1.037 MB / 0.6643 GB, free: 4.477 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003354/0.2388, allocations: 45.7 kB / 0.6643 GB, free: 4.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.2393, allocations: 0.5285 MB / 0.6649 GB, free: 3.891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006753/0.24, allocations: 382.5 kB / 0.6652 GB, free: 3.512 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000807/0.2408, allocations: 247.4 kB / 0.6655 GB, free: 3.266 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.241, allocations: 361.9 kB / 0.6658 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.2429, allocations: 0.7847 MB / 0.6666 GB, free: 2.121 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.245, allocations: 0.9406 MB / 0.6675 GB, free: 1.145 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02298/0.268, allocations: 5.492 MB / 0.6729 GB, free: 11.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.2681, allocations: 7.938 kB / 0.6729 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01561/0.2837, allocations: 4.452 MB / 0.6772 GB, free: 7.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.731e-05/0.2838, allocations: 63.41 kB / 0.6773 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.2838, allocations: 4 kB / 0.6773 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006389/0.2902, allocations: 1.749 MB / 0.679 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.2919, allocations: 275.6 kB / 0.6792 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/0.3147, allocations: 9.026 MB / 0.6881 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.3169, allocations: 210.8 kB / 0.6883 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/0.3173, allocations: 47.98 kB / 0.6883 GB, free: 11.54 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.0009478/0.3182, allocations: 303.5 kB / 0.6886 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004557/0.3187, allocations: 134.3 kB / 0.6887 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.3345, allocations: 4.401 MB / 0.693 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.3345, allocations: 15.94 kB / 0.693 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3345, allocations: 0 / 0.693 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/0.3346, allocations: 7.969 kB / 0.693 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/0.3538, allocations: 6.263 MB / 0.6992 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.3539, allocations: 0 / 0.6992 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009219/0.3548, allocations: 123.8 kB / 0.6993 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006968/0.3618, allocations: 1.899 MB / 0.7011 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003181/0.3621, allocations: 23.98 kB / 0.7012 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02528/0.3874, allocations: 10.71 MB / 0.7116 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3875, allocations: 0 / 0.7116 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.366/0.7535, allocations: 5.422 MB / 0.7169 GB, free: 83.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/0.7543, allocations: 219.5 kB / 0.7171 GB, free: 82.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.7546, allocations: 23.64 kB / 0.7171 GB, free: 82.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.7562, allocations: 140.9 kB / 0.7173 GB, free: 82.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009859/0.7572, allocations: 234.2 kB / 0.7175 GB, free: 82.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.7573, allocations: 28.62 kB / 0.7175 GB, free: 82.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001322/0.7586, allocations: 0.707 MB / 0.7182 GB, free: 82.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7586, allocations: 1 kB / 0.7182 GB, free: 82.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001899/0.7605, allocations: 488.9 kB / 0.7187 GB, free: 82.83 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.0003258/0.7608, allocations: 133.3 kB / 0.7188 GB, free: 82.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008124/0.769, allocations: 2.741 MB / 0.7215 GB, free: 82.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.769, allocations: 3.781 kB / 0.7215 GB, free: 82.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006044/0.7751, allocations: 1.882 MB / 0.7233 GB, free: 81.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.7765, allocations: 120.6 kB / 0.7234 GB, free: 81.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/0.782, allocations: 2.512 MB / 0.7259 GB, free: 80.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/0.7829, allocations: 1.155 MB / 0.727 GB, free: 79.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.7834, allocations: 82.59 kB / 0.7271 GB, free: 79.84 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.7834, allocations: 1.062 kB / 0.7271 GB, free: 79.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.03706/0.8205, allocations: 25.44 MB / 0.7519 GB, free: 68.06 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)