Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008939/0.000894, allocations: 175.8 kB / 15.42 MB, free: 6.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 239 MB, free: 1.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006949/0.0006948, allocations: 93.64 kB / 289.8 MB, free: 14.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4256/0.4256, allocations: 78.42 MB / 418.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 16 kB / 498.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 68.73 MB / 0.5539 GB, free: 39.48 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.006301/0.3049, allocations: 7.336 MB / 0.561 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004546/0.3095, allocations: 2.174 MB / 0.5632 GB, free: 35.62 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009474/0.3105, allocations: 17.97 kB / 0.5632 GB, free: 35.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.3113, allocations: 200.8 kB / 0.5634 GB, free: 35.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.3129, allocations: 0.6756 MB / 0.564 GB, free: 35.22 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001607/0.3145, allocations: 0.7114 MB / 0.5647 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.3168, allocations: 1.631 MB / 0.5663 GB, free: 34.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005807/0.3173, allocations: 361.5 kB / 0.5667 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.3186, allocations: 0.6027 MB / 0.5673 GB, free: 34.22 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000806/0.3195, allocations: 0.7446 MB / 0.568 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.3196, allocations: 60.75 kB / 0.568 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.3201, allocations: 194.6 kB / 0.5682 GB, free: 33.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.3204, allocations: 274.4 kB / 0.5685 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004716/0.3209, allocations: 0.63 MB / 0.5691 GB, free: 33.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3221, allocations: 1.693 MB / 0.5708 GB, free: 32.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3221, allocations: 0 / 0.5708 GB, free: 32.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3222, allocations: 2.875 kB / 0.5708 GB, free: 32.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3222, allocations: 0 / 0.5708 GB, free: 32.64 MB / 426.7 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.007273/0.3294, allocations: 2.566 MB / 0.5733 GB, free: 31.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3295, allocations: 15.08 kB / 0.5733 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.3341, allocations: 0.7905 MB / 0.5741 GB, free: 31.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.3354, allocations: 0.9276 MB / 0.575 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/0.3357, allocations: 326.4 kB / 0.5753 GB, free: 30.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.3358, allocations: 91.16 kB / 0.5754 GB, free: 30.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.3379, allocations: 1.293 MB / 0.5766 GB, free: 29.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.338, allocations: 1.375 kB / 0.5766 GB, free: 29.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.338, allocations: 36.31 kB / 0.5767 GB, free: 29.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.3381, allocations: 21.19 kB / 0.5767 GB, free: 29.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.3402, allocations: 1.198 MB / 0.5778 GB, free: 29.48 MB / 426.7 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.005293/0.3455, allocations: 4.183 MB / 0.5819 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.3482, allocations: 1.769 MB / 0.5837 GB, free: 26.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.3497, allocations: 0.8624 MB / 0.5845 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.3498, allocations: 16.5 kB / 0.5845 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/0.3514, allocations: 0.9643 MB / 0.5855 GB, free: 25.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 2.545e-06/0.3514, allocations: 0 / 0.5855 GB, free: 25.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.0301/0.3815, allocations: 7.895 MB / 0.5932 GB, free: 23.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.3816, allocations: 115.8 kB / 0.5933 GB, free: 23.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.3833, allocations: 1.04 MB / 0.5943 GB, free: 23.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.3835, allocations: 50.69 kB / 0.5943 GB, free: 23.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.3838, allocations: 0.5226 MB / 0.5949 GB, free: 22.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.3841, allocations: 397.9 kB / 0.5952 GB, free: 22.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.3843, allocations: 124.4 kB / 0.5954 GB, free: 22.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.3844, allocations: 354.5 kB / 0.5957 GB, free: 22.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.386, allocations: 0.7885 MB / 0.5965 GB, free: 21.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.3877, allocations: 0.9505 MB / 0.5974 GB, free: 21.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02063/0.4083, allocations: 5.48 MB / 0.6027 GB, free: 19.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.4084, allocations: 4.5 kB / 0.6027 GB, free: 19.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01311/0.4215, allocations: 4.456 MB / 0.6071 GB, free: 17.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.4216, allocations: 58.31 kB / 0.6072 GB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.4216, allocations: 6.219 kB / 0.6072 GB, free: 17.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005502/0.4271, allocations: 1.741 MB / 0.6089 GB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.4286, allocations: 280.2 kB / 0.6091 GB, free: 16.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/0.4455, allocations: 8.328 MB / 0.6173 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4473, allocations: 210.8 kB / 0.6175 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.4475, allocations: 51.97 kB / 0.6175 GB, free: 9.883 MB / 426.7 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.0005671/0.4481, allocations: 299.7 kB / 0.6178 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.4483, allocations: 130.4 kB / 0.6179 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/0.4612, allocations: 4.401 MB / 0.6222 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.4612, allocations: 12 kB / 0.6222 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4612, allocations: 4 kB / 0.6222 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.4613, allocations: 3.984 kB / 0.6222 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.4765, allocations: 6.267 MB / 0.6284 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.4765, allocations: 0 / 0.6284 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007381/0.4773, allocations: 127.8 kB / 0.6285 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006251/0.4835, allocations: 1.906 MB / 0.6303 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/0.4837, allocations: 23.98 kB / 0.6304 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/0.5046, allocations: 9.75 MB / 0.6399 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5046, allocations: 0 / 0.6399 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.5204, allocations: 5.425 MB / 0.6452 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004476/0.5209, allocations: 223.2 kB / 0.6454 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.5211, allocations: 19.94 kB / 0.6454 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.5224, allocations: 143.8 kB / 0.6455 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000793/0.5232, allocations: 224.6 kB / 0.6458 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/0.5233, allocations: 32 kB / 0.6458 GB, free: 12.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.5244, allocations: 0.7045 MB / 0.6465 GB, free: 11.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5244, allocations: 0 / 0.6465 GB, free: 11.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001405/0.5258, allocations: 487.4 kB / 0.6469 GB, free: 11.21 MB / 458.7 MB 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.0002647/0.526, allocations: 136.9 kB / 0.6471 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00641/0.5325, allocations: 2.701 MB / 0.6497 GB, free: 8.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5325, allocations: 0 / 0.6497 GB, free: 8.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004662/0.5372, allocations: 1.83 MB / 0.6515 GB, free: 6.465 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5382, allocations: 125.8 kB / 0.6516 GB, free: 6.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.5428, allocations: 2.962 MB / 0.6545 GB, free: 3.355 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.5434, allocations: 1.159 MB / 0.6556 GB, free: 2.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004574/0.5439, allocations: 108.3 kB / 0.6557 GB, free: 2.051 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.5442, allocations: 83.41 kB / 0.6558 GB, free: 1.969 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5442, allocations: 0 / 0.6558 GB, free: 1.969 MB / 458.7 MB Notification: Performance of Templates: time 0.03338/0.5775, allocations: 24.1 MB / 0.6794 GB, free: 9.902 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)