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.004796/0.004796, allocations: 167.8 kB / 15.13 MB, free: 6.027 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.363/1.363, allocations: 223.3 MB / 239.1 MB, free: 15.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000784/0.0007838, allocations: 88.45 kB / 290.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6113/0.6113, allocations: 78.61 MB / 420 MB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12 kB / 499.9 MB, free: 7.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 69.36 MB / 0.5559 GB, free: 1.801 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.00569/0.1179, allocations: 6.433 MB / 0.5622 GB, free: 11.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.1209, allocations: 2.044 MB / 0.5642 GB, free: 9.285 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003655/0.1212, allocations: 19.88 kB / 0.5642 GB, free: 9.266 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.1217, allocations: 182.6 kB / 0.5644 GB, free: 9.086 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.123, allocations: 0.6374 MB / 0.565 GB, free: 8.449 MB / 442.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.001216/0.1242, allocations: 0.6101 MB / 0.5656 GB, free: 7.848 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1256, allocations: 1.542 MB / 0.5671 GB, free: 6.301 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.126, allocations: 328.6 kB / 0.5674 GB, free: 5.961 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006555/0.1267, allocations: 0.5949 MB / 0.568 GB, free: 5.363 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007561/0.1274, allocations: 0.7193 MB / 0.5687 GB, free: 4.641 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1276, allocations: 64 kB / 0.5688 GB, free: 4.578 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.128, allocations: 183.8 kB / 0.5689 GB, free: 4.398 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.1282, allocations: 258.8 kB / 0.5692 GB, free: 4.145 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.1284, allocations: 248.9 kB / 0.5694 GB, free: 3.895 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1295, allocations: 1.336 MB / 0.5707 GB, free: 2.555 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1295, allocations: 3.938 kB / 0.5707 GB, free: 2.551 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1295, allocations: 0 / 0.5707 GB, free: 2.551 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.1295, allocations: 0 / 0.5707 GB, free: 2.551 MB / 442.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.2085/0.338, allocations: 2.657 MB / 0.5733 GB, free: 44.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3381, allocations: 9.438 kB / 0.5733 GB, free: 44.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005268/0.3433, allocations: 0.808 MB / 0.5741 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.3451, allocations: 0.8661 MB / 0.575 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/0.3454, allocations: 343.1 kB / 0.5753 GB, free: 43.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.3456, allocations: 96.75 kB / 0.5754 GB, free: 43.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.3483, allocations: 1.361 MB / 0.5767 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.3483, allocations: 0 / 0.5767 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.3484, allocations: 35.09 kB / 0.5768 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.3485, allocations: 25.52 kB / 0.5768 GB, free: 43.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.3511, allocations: 1.29 MB / 0.578 GB, free: 43.32 MB / 442.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.006726/0.3578, allocations: 4.258 MB / 0.5822 GB, free: 42.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.3611, allocations: 1.878 MB / 0.584 GB, free: 41.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.3628, allocations: 0.9281 MB / 0.5849 GB, free: 41.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.552e-05/0.3629, allocations: 17.25 kB / 0.585 GB, free: 41.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002106/0.365, allocations: 1.041 MB / 0.586 GB, free: 41.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 3.096e-06/0.3651, allocations: 0 / 0.586 GB, free: 41.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.03545/0.4005, allocations: 9.423 MB / 0.5952 GB, free: 40.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4006, allocations: 120.8 kB / 0.5953 GB, free: 40.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.4019, allocations: 1.027 MB / 0.5963 GB, free: 39.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.4021, allocations: 48.39 kB / 0.5963 GB, free: 39.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.4023, allocations: 0.5226 MB / 0.5968 GB, free: 39.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.4026, allocations: 392.3 kB / 0.5972 GB, free: 38.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.4027, allocations: 26.41 kB / 0.5972 GB, free: 38.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.4028, allocations: 360.4 kB / 0.5976 GB, free: 38.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.4044, allocations: 0.8609 MB / 0.5984 GB, free: 38.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.4061, allocations: 1.01 MB / 0.5994 GB, free: 37.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.4078, allocations: 0.9785 MB / 0.6004 GB, free: 37.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4078, allocations: 0 / 0.6004 GB, free: 37.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01425/0.4221, allocations: 5.415 MB / 0.6057 GB, free: 36.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.4221, allocations: 57.91 kB / 0.6057 GB, free: 36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4222, allocations: 3.25 kB / 0.6057 GB, free: 36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00655/0.4287, allocations: 2.161 MB / 0.6078 GB, free: 35.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.4302, allocations: 282.2 kB / 0.6081 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.4514, allocations: 9.717 MB / 0.6176 GB, free: 31.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.4534, allocations: 255.7 kB / 0.6178 GB, free: 31.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.4536, allocations: 52.3 kB / 0.6179 GB, free: 31.34 MB / 442.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 exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-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 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005555/0.4541, allocations: 297.6 kB / 0.6182 GB, free: 31.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4543, allocations: 129.4 kB / 0.6183 GB, free: 31.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/0.471, allocations: 5.329 MB / 0.6235 GB, free: 29.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.471, allocations: 15.34 kB / 0.6235 GB, free: 29.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.471, allocations: 5.172 kB / 0.6235 GB, free: 29.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.933e-05/0.4711, allocations: 7.359 kB / 0.6235 GB, free: 29.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/0.4889, allocations: 7.199 MB / 0.6306 GB, free: 27.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.4889, allocations: 3.953 kB / 0.6306 GB, free: 27.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000735/0.4897, allocations: 131.9 kB / 0.6307 GB, free: 27.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006397/0.4961, allocations: 2.212 MB / 0.6328 GB, free: 24.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.4963, allocations: 23.98 kB / 0.6329 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/0.5166, allocations: 10.64 MB / 0.6433 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5166, allocations: 0 / 0.6433 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.5335, allocations: 6.421 MB / 0.6495 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.534, allocations: 227.2 kB / 0.6497 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.5341, allocations: 21.41 kB / 0.6498 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.5355, allocations: 179.8 kB / 0.6499 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006133/0.5361, allocations: 232.6 kB / 0.6502 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/0.5362, allocations: 30.12 kB / 0.6502 GB, free: 6.875 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008618/0.5371, allocations: 0.6967 MB / 0.6509 GB, free: 6.172 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5371, allocations: 0 / 0.6509 GB, free: 6.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00128/0.5384, allocations: 494 kB / 0.6513 GB, free: 5.691 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002331/0.5386, allocations: 135.9 kB / 0.6515 GB, free: 5.551 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006904/0.5455, allocations: 3.024 MB / 0.6544 GB, free: 2.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5455, allocations: 0 / 0.6544 GB, free: 2.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004998/0.5506, allocations: 2.071 MB / 0.6564 GB, free: 412 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5516, allocations: 134.1 kB / 0.6566 GB, free: 276 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/0.5563, allocations: 2.924 MB / 0.6594 GB, free: 13.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/0.557, allocations: 1.163 MB / 0.6606 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005119/0.5575, allocations: 115.4 kB / 0.6607 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.5578, allocations: 75.41 kB / 0.6607 GB, free: 11.97 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5578, allocations: 0 / 0.6607 GB, free: 11.97 MB / 458.7 MB Notification: Performance of Templates: time 0.03383/0.5916, allocations: 23.81 MB / 0.684 GB, free: 4.324 MB / 474.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)