Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008953/0.0008955, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 239 MB, free: 5.656 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.00131/0.00131, allocations: 184.5 kB / 290.3 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4807/0.4807, allocations: 78.56 MB / 419.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 12 kB / 499.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 69.36 MB / 0.5559 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.3018/0.4523, allocations: 6.423 MB / 0.5622 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.4569, allocations: 2.052 MB / 0.5642 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.458, allocations: 17.53 kB / 0.5642 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007358/0.4587, allocations: 179.3 kB / 0.5644 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.4604, allocations: 0.6418 MB / 0.565 GB, free: 36.7 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001392/0.4618, allocations: 0.6089 MB / 0.5656 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.4634, allocations: 1.538 MB / 0.5671 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.4639, allocations: 327.2 kB / 0.5674 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000752/0.4647, allocations: 0.5913 MB / 0.568 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007299/0.4654, allocations: 0.73 MB / 0.5687 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.4655, allocations: 63.19 kB / 0.5688 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.466, allocations: 188.2 kB / 0.5689 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.4662, allocations: 256.2 kB / 0.5692 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.4664, allocations: 243.6 kB / 0.5694 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.4674, allocations: 1.338 MB / 0.5707 GB, free: 35.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4674, allocations: 5.844 kB / 0.5707 GB, free: 35.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4674, allocations: 0 / 0.5707 GB, free: 35.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.4674, allocations: 0.7812 kB / 0.5707 GB, free: 35.44 MB / 430.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.007215/0.4747, allocations: 2.656 MB / 0.5733 GB, free: 34.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4747, allocations: 8.781 kB / 0.5733 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002765/0.475, allocations: 146.3 kB / 0.5735 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/0.4796, allocations: 0.8033 MB / 0.5743 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.4812, allocations: 0.8797 MB / 0.5751 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.4815, allocations: 346.2 kB / 0.5754 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.4817, allocations: 90.41 kB / 0.5755 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.4841, allocations: 1.365 MB / 0.5769 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.4842, allocations: 1.453 kB / 0.5769 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.99e-05/0.4843, allocations: 30.34 kB / 0.5769 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.4843, allocations: 25.02 kB / 0.5769 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.4868, allocations: 1.284 MB / 0.5782 GB, free: 32.62 MB / 430.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.006078/0.4928, allocations: 4.266 MB / 0.5823 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.4957, allocations: 1.875 MB / 0.5842 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.4974, allocations: 0.9285 MB / 0.5851 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.4975, allocations: 19.59 kB / 0.5851 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/0.4996, allocations: 1.039 MB / 0.5861 GB, free: 28.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.346e-06/0.4996, allocations: 0 / 0.5861 GB, free: 28.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03167/0.5313, allocations: 9.423 MB / 0.5953 GB, free: 26.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.5314, allocations: 123.5 kB / 0.5954 GB, free: 26.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.5332, allocations: 1.027 MB / 0.5964 GB, free: 26.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000307/0.5336, allocations: 49.52 kB / 0.5965 GB, free: 26.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.534, allocations: 0.5278 MB / 0.597 GB, free: 25.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.5344, allocations: 387.9 kB / 0.5974 GB, free: 25.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.5345, allocations: 30.81 kB / 0.5974 GB, free: 25.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5346, allocations: 354.1 kB / 0.5977 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.5364, allocations: 0.8647 MB / 0.5986 GB, free: 24.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.5383, allocations: 1.018 MB / 0.5996 GB, free: 24.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.5403, allocations: 0.9679 MB / 0.6005 GB, free: 23.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.5403, allocations: 2.672 kB / 0.6005 GB, free: 23.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01527/0.5556, allocations: 5.41 MB / 0.6058 GB, free: 22.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.618e-05/0.5557, allocations: 60.2 kB / 0.6059 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.5558, allocations: 2.438 kB / 0.6059 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007152/0.5629, allocations: 2.159 MB / 0.608 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.5645, allocations: 285.2 kB / 0.6082 GB, free: 22.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/0.5845, allocations: 9.721 MB / 0.6177 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.5864, allocations: 246.8 kB / 0.618 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.5867, allocations: 48.84 kB / 0.618 GB, free: 14.15 MB / 430.1 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.0008413/0.5876, allocations: 308.5 kB / 0.6183 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003919/0.588, allocations: 134.4 kB / 0.6184 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.6011, allocations: 5.322 MB / 0.6236 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.6012, allocations: 13.31 kB / 0.6236 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6012, allocations: 3.953 kB / 0.6236 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.6012, allocations: 3.984 kB / 0.6237 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.6177, allocations: 7.192 MB / 0.6307 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.6178, allocations: 9.438 kB / 0.6307 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/0.6186, allocations: 131.9 kB / 0.6308 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006267/0.6248, allocations: 2.212 MB / 0.633 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/0.6251, allocations: 24.88 kB / 0.633 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/0.6481, allocations: 10.65 MB / 0.6434 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.6481, allocations: 0.6875 kB / 0.6434 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/0.6658, allocations: 6.421 MB / 0.6497 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007048/0.6666, allocations: 223.2 kB / 0.6499 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004929/0.6671, allocations: 25.97 kB / 0.6499 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.6687, allocations: 183.8 kB / 0.6501 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008079/0.6695, allocations: 228.6 kB / 0.6503 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.6697, allocations: 32.73 kB / 0.6503 GB, free: 12.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001337/0.6711, allocations: 0.6928 MB / 0.651 GB, free: 11.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6711, allocations: 4 kB / 0.651 GB, free: 11.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002179/0.6733, allocations: 491.4 kB / 0.6515 GB, free: 11.38 MB / 462.1 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.01731/0.6906, allocations: 6.993 MB / 0.6583 GB, free: 4.336 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007791/0.6984, allocations: 3.028 MB / 0.6613 GB, free: 1.273 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.6985, allocations: 0 / 0.6613 GB, free: 1.273 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005397/0.7039, allocations: 2.067 MB / 0.6633 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.7056, allocations: 125.9 kB / 0.6634 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03037/0.736, allocations: 12.9 MB / 0.676 GB, free: 1.828 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009419/0.737, allocations: 1.152 MB / 0.6771 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006328/0.7377, allocations: 114.3 kB / 0.6772 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000922/0.7386, allocations: 0.4915 MB / 0.6777 GB, free: 40 kB / 478.1 MB Notification: Performance of SimCode: time 1.773e-06/0.7386, allocations: 0 / 0.6777 GB, free: 40 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06591/0.8046, allocations: 34.87 MB / 0.7118 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003308/0.8049, allocations: 220.6 kB / 0.712 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.571, allocations: 0 / 0.712 GB, free: 13.29 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) Environment - environmentSimulation: