Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.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 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.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_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.001143/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.364/1.364, allocations: 222.9 MB / 238.9 MB, free: 4.773 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.001525/0.001526, allocations: 196.4 kB / 289.1 MB, free: 2.523 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5984/0.5984, allocations: 91.9 MB / 431.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 79.88 kB / 0.5013 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4199, allocations: 71.26 MB / 0.5709 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006527/0.4265, allocations: 6.968 MB / 0.5777 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00433/0.4308, allocations: 2.093 MB / 0.5798 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/0.4317, allocations: 12.41 kB / 0.5798 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.4325, allocations: 192.1 kB / 0.58 GB, free: 31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.4343, allocations: 0.6716 MB / 0.5806 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.4357, allocations: 0.632 MB / 0.5812 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.4371, allocations: 1.548 MB / 0.5827 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.4375, allocations: 308.8 kB / 0.583 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007434/0.4383, allocations: 0.606 MB / 0.5836 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.439, allocations: 0.7733 MB / 0.5844 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.4392, allocations: 74.19 kB / 0.5845 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.4397, allocations: 201.6 kB / 0.5847 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.4399, allocations: 277.9 kB / 0.5849 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.4404, allocations: 0.6225 MB / 0.5855 GB, free: 28.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.4417, allocations: 1.629 MB / 0.5871 GB, free: 27.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4417, allocations: 7.938 kB / 0.5871 GB, free: 27.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4417, allocations: 0 / 0.5871 GB, free: 27.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.4418, allocations: 1.156 kB / 0.5871 GB, free: 27.35 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.009148/0.4509, allocations: 2.754 MB / 0.5898 GB, free: 26.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.451, allocations: 10.88 kB / 0.5898 GB, free: 26.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.4512, allocations: 131.8 kB / 0.5899 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.4562, allocations: 0.7848 MB / 0.5907 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.4579, allocations: 0.8885 MB / 0.5916 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.4581, allocations: 253.9 kB / 0.5918 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.4583, allocations: 92.38 kB / 0.5919 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.4607, allocations: 1.175 MB / 0.5931 GB, free: 24.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4607, allocations: 5.156 kB / 0.5931 GB, free: 24.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.4608, allocations: 30.72 kB / 0.5931 GB, free: 24.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.4608, allocations: 18.72 kB / 0.5931 GB, free: 24.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.4632, allocations: 1.074 MB / 0.5942 GB, free: 24.13 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.006968/0.4701, allocations: 3.686 MB / 0.5978 GB, free: 22.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.4728, allocations: 1.548 MB / 0.5993 GB, free: 21.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.4744, allocations: 0.7816 MB / 0.6 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.4745, allocations: 21.45 kB / 0.6001 GB, free: 20.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/0.4764, allocations: 0.8889 MB / 0.6009 GB, free: 20.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.965e-06/0.4764, allocations: 0 / 0.6009 GB, free: 20.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02856/0.505, allocations: 6.964 MB / 0.6077 GB, free: 18.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.5051, allocations: 116.1 kB / 0.6078 GB, free: 18.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.5069, allocations: 1.023 MB / 0.6088 GB, free: 18.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/0.5072, allocations: 46.91 kB / 0.6089 GB, free: 18.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.5076, allocations: 0.5 MB / 0.6094 GB, free: 17.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/0.5079, allocations: 374.8 kB / 0.6097 GB, free: 17.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005226/0.5085, allocations: 252 kB / 0.61 GB, free: 17.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5086, allocations: 353.4 kB / 0.6103 GB, free: 17.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.5103, allocations: 0.7669 MB / 0.6111 GB, free: 16.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.5121, allocations: 0.9108 MB / 0.6119 GB, free: 16.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02153/0.5336, allocations: 5.418 MB / 0.6172 GB, free: 14.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.5337, allocations: 0 / 0.6172 GB, free: 14.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01349/0.5472, allocations: 4.52 MB / 0.6216 GB, free: 10.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.753e-05/0.5473, allocations: 57.28 kB / 0.6217 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.5473, allocations: 7.938 kB / 0.6217 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006233/0.5536, allocations: 1.858 MB / 0.6235 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.555, allocations: 251.6 kB / 0.6238 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.5748, allocations: 8.718 MB / 0.6323 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.5771, allocations: 202.7 kB / 0.6325 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/0.5776, allocations: 47.98 kB / 0.6325 GB, free: 15.02 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.001016/0.5786, allocations: 287.5 kB / 0.6328 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005345/0.5791, allocations: 126.5 kB / 0.6329 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.5935, allocations: 4.196 MB / 0.637 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/0.5937, allocations: 12 kB / 0.637 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5937, allocations: 4 kB / 0.637 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.873e-05/0.5937, allocations: 7.984 kB / 0.637 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0267/0.6204, allocations: 5.972 MB / 0.6429 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-05/0.6206, allocations: 0 / 0.6429 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.6219, allocations: 107.9 kB / 0.643 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009023/0.6309, allocations: 1.831 MB / 0.6448 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003412/0.6313, allocations: 20 kB / 0.6448 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02949/0.6608, allocations: 9.383 MB / 0.6539 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6609, allocations: 4 kB / 0.6539 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02238/0.6833, allocations: 5.13 MB / 0.6589 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007939/0.6841, allocations: 227.2 kB / 0.6592 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006964/0.6849, allocations: 24.06 kB / 0.6592 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.687, allocations: 111.9 kB / 0.6593 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001168/0.6882, allocations: 208.6 kB / 0.6595 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/0.6885, allocations: 27.98 kB / 0.6595 GB, free: 2.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001916/0.6904, allocations: 0.7032 MB / 0.6602 GB, free: 2.121 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6905, allocations: 0 / 0.6602 GB, free: 2.121 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002697/0.6932, allocations: 479.5 kB / 0.6607 GB, free: 1.652 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * 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 (64): * Single equations (assignments): 61 * 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,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02266/0.7158, allocations: 5.737 MB / 0.6663 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01072/0.7266, allocations: 2.634 MB / 0.6688 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.7267, allocations: 384 / 0.6688 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00728/0.734, allocations: 1.754 MB / 0.6706 GB, free: 7.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.7363, allocations: 112.7 kB / 0.6707 GB, free: 7.297 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06562/0.802, allocations: 17.74 MB / 0.688 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.8035, allocations: 1.128 MB / 0.6891 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00111/0.8047, allocations: 111.9 kB / 0.6892 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.8059, allocations: 471.3 kB / 0.6896 GB, free: 3.402 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/0.8059, allocations: 0 / 0.6896 GB, free: 3.402 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08529/0.8912, allocations: 34.16 MB / 0.723 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.8915, allocations: 228.7 kB / 0.7232 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.73, allocations: 7.938 kB / 0.7232 GB, free: 1.176 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)