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.001404/0.001405, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001981/0.001981, allocations: 188.4 kB / 289.5 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4426/0.4426, allocations: 78.53 MB / 418.2 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 71.89 kB / 497.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1274, allocations: 68.18 MB / 0.5525 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.2161/0.3435, allocations: 6.986 MB / 0.5593 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.3475, allocations: 2.113 MB / 0.5614 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009738/0.3485, allocations: 16.62 kB / 0.5614 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.3493, allocations: 254.1 kB / 0.5616 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.3512, allocations: 0.7743 MB / 0.5624 GB, free: 34.99 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.001491/0.3527, allocations: 0.7536 MB / 0.5631 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.3544, allocations: 1.718 MB / 0.5648 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.3549, allocations: 399.4 kB / 0.5652 GB, free: 34.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007238/0.3556, allocations: 0.7063 MB / 0.5659 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007156/0.3564, allocations: 0.8325 MB / 0.5667 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.3565, allocations: 136.7 kB / 0.5668 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005038/0.357, allocations: 270.1 kB / 0.5671 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.3573, allocations: 346 kB / 0.5674 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004854/0.3578, allocations: 0.72 MB / 0.5681 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.3592, allocations: 1.787 MB / 0.5698 GB, free: 33.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3592, allocations: 4.875 kB / 0.5698 GB, free: 33.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3592, allocations: 0 / 0.5698 GB, free: 33.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.3593, allocations: 0 / 0.5698 GB, free: 33.38 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.008526/0.3678, allocations: 2.849 MB / 0.5726 GB, free: 32.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3678, allocations: 12.91 kB / 0.5726 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.368, allocations: 142.9 kB / 0.5728 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/0.3728, allocations: 0.8001 MB / 0.5736 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.3743, allocations: 0.9227 MB / 0.5745 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.3746, allocations: 331 kB / 0.5748 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.3747, allocations: 94.56 kB / 0.5749 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.377, allocations: 1.287 MB / 0.5761 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.377, allocations: 0 / 0.5761 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3772, allocations: 39.12 kB / 0.5762 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.3772, allocations: 22.62 kB / 0.5762 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.3796, allocations: 1.2 MB / 0.5774 GB, free: 31.37 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.005979/0.3856, allocations: 4.187 MB / 0.5814 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.3886, allocations: 1.766 MB / 0.5832 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.3903, allocations: 0.8616 MB / 0.584 GB, free: 27.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3905, allocations: 24.39 kB / 0.584 GB, free: 27.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001866/0.3923, allocations: 0.9551 MB / 0.585 GB, free: 27.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.466e-06/0.3924, allocations: 4 kB / 0.585 GB, free: 27.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03302/0.4254, allocations: 7.893 MB / 0.5927 GB, free: 25.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.4255, allocations: 114.6 kB / 0.5928 GB, free: 25.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.4272, allocations: 1.037 MB / 0.5938 GB, free: 25.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002674/0.4274, allocations: 46.52 kB / 0.5938 GB, free: 25.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.4278, allocations: 0.5193 MB / 0.5943 GB, free: 24.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.4281, allocations: 396.3 kB / 0.5947 GB, free: 24.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004478/0.4286, allocations: 248.7 kB / 0.595 GB, free: 24.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.4287, allocations: 354.2 kB / 0.5953 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.4304, allocations: 0.7882 MB / 0.5961 GB, free: 23.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.4322, allocations: 0.9427 MB / 0.597 GB, free: 23.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02207/0.4543, allocations: 5.511 MB / 0.6024 GB, free: 21.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.4544, allocations: 1.125 kB / 0.6024 GB, free: 21.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01423/0.4686, allocations: 4.458 MB / 0.6067 GB, free: 20.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.4687, allocations: 62.12 kB / 0.6068 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4687, allocations: 2.188 kB / 0.6068 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005928/0.4747, allocations: 1.743 MB / 0.6085 GB, free: 19.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.4761, allocations: 279.8 kB / 0.6088 GB, free: 19.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/0.4951, allocations: 9.058 MB / 0.6176 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.497, allocations: 207.6 kB / 0.6178 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.4971, allocations: 47.98 kB / 0.6178 GB, free: 11.64 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 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.000555/0.4977, allocations: 302.8 kB / 0.6181 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.4979, allocations: 130.3 kB / 0.6183 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.5119, allocations: 4.412 MB / 0.6226 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.5119, allocations: 8 kB / 0.6226 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5119, allocations: 7.938 kB / 0.6226 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.512, allocations: 7.922 kB / 0.6226 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.5275, allocations: 6.263 MB / 0.6287 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.5275, allocations: 1.125 kB / 0.6287 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007474/0.5283, allocations: 127.8 kB / 0.6288 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006566/0.5349, allocations: 1.903 MB / 0.6307 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/0.5351, allocations: 31.98 kB / 0.6307 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02381/0.5589, allocations: 10.72 MB / 0.6412 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.559, allocations: 1.016 kB / 0.6412 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/0.5766, allocations: 5.427 MB / 0.6465 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.5772, allocations: 223.8 kB / 0.6467 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/0.5776, allocations: 20.09 kB / 0.6467 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.5793, allocations: 143.8 kB / 0.6469 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008326/0.5802, allocations: 240.6 kB / 0.6471 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/0.5804, allocations: 25.06 kB / 0.6471 GB, free: 13.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001213/0.5816, allocations: 0.7084 MB / 0.6478 GB, free: 12.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5816, allocations: 0 / 0.6478 GB, free: 12.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001784/0.5834, allocations: 479.4 kB / 0.6483 GB, free: 11.97 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 (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.01748/0.6009, allocations: 5.998 MB / 0.6541 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008132/0.609, allocations: 2.768 MB / 0.6568 GB, free: 3.121 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6091, allocations: 4.062 kB / 0.6568 GB, free: 3.117 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005544/0.6146, allocations: 1.884 MB / 0.6587 GB, free: 1.195 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.616, allocations: 130.4 kB / 0.6588 GB, free: 1.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04316/0.6592, allocations: 17.72 MB / 0.6761 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008145/0.6601, allocations: 1.159 MB / 0.6772 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006303/0.6607, allocations: 113.2 kB / 0.6773 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007634/0.6615, allocations: 0.4954 MB / 0.6778 GB, free: 13.14 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6615, allocations: 0 / 0.6778 GB, free: 13.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0722/0.7337, allocations: 38.3 MB / 0.7152 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.05, allocations: 8.812 kB / 0.7152 GB, free: 7.133 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/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)