Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.001319/0.001319, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.44/1.44, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001136/0.001136, allocations: 188.3 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.48/0.48, allocations: 79.44 MB / 420.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 12 kB / 0.4891 GB, free: 5.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.409, allocations: 69.51 MB / 0.557 GB, free: 37.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006828/0.4159, allocations: 6.975 MB / 0.5638 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005449/0.4214, allocations: 2.469 MB / 0.5662 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.4226, allocations: 14.72 kB / 0.5662 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008759/0.4235, allocations: 214.1 kB / 0.5664 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.426, allocations: 0.8805 MB / 0.5673 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.4276, allocations: 0.6245 MB / 0.5679 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.4294, allocations: 1.313 MB / 0.5692 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004649/0.4299, allocations: 309.3 kB / 0.5695 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008352/0.4308, allocations: 0.7182 MB / 0.5702 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009971/0.4318, allocations: 0.9481 MB / 0.5711 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.432, allocations: 88.34 kB / 0.5712 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005614/0.4326, allocations: 232 kB / 0.5714 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.4328, allocations: 338 kB / 0.5717 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.4331, allocations: 286.2 kB / 0.572 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.4343, allocations: 1.56 MB / 0.5735 GB, free: 33.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4343, allocations: 0.625 kB / 0.5735 GB, free: 33.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4343, allocations: 0 / 0.5735 GB, free: 33.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.03e-05/0.4343, allocations: 3.281 kB / 0.5735 GB, free: 33.87 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01135/0.4457, allocations: 3.317 MB / 0.5768 GB, free: 32.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4458, allocations: 10.59 kB / 0.5768 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003706/0.4461, allocations: 150 kB / 0.5769 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/0.4507, allocations: 0.751 MB / 0.5776 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.4527, allocations: 1.038 MB / 0.5787 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/0.4531, allocations: 431.3 kB / 0.5791 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.4533, allocations: 112.2 kB / 0.5792 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.4558, allocations: 1.425 MB / 0.5806 GB, free: 30.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.4558, allocations: 10.55 kB / 0.5806 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.456, allocations: 35.38 kB / 0.5806 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.456, allocations: 22.25 kB / 0.5806 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.4587, allocations: 1.384 MB / 0.582 GB, free: 30.3 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.00797/0.4667, allocations: 4.865 MB / 0.5867 GB, free: 27.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008953/0.4757, allocations: 3.452 MB / 0.5901 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.4759, allocations: 18.14 kB / 0.5901 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00233/0.4782, allocations: 1.125 MB / 0.5912 GB, free: 25.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.316e-06/0.4782, allocations: 0 / 0.5912 GB, free: 25.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04643/0.5247, allocations: 12.03 MB / 0.603 GB, free: 23.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.5248, allocations: 123.1 kB / 0.6031 GB, free: 23.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.5273, allocations: 1.332 MB / 0.6044 GB, free: 23.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004357/0.5278, allocations: 50.89 kB / 0.6044 GB, free: 23.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.5282, allocations: 0.5661 MB / 0.605 GB, free: 22.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005039/0.5288, allocations: 458 kB / 0.6054 GB, free: 22.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.5289, allocations: 36.12 kB / 0.6055 GB, free: 22.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.529, allocations: 370 kB / 0.6058 GB, free: 22.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.5313, allocations: 1.03 MB / 0.6068 GB, free: 21.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.5337, allocations: 1.218 MB / 0.608 GB, free: 21.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.5362, allocations: 1.107 MB / 0.6091 GB, free: 20.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.5362, allocations: 1.188 kB / 0.6091 GB, free: 20.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01013/0.5463, allocations: 3.985 MB / 0.613 GB, free: 19.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.5464, allocations: 6.562 kB / 0.613 GB, free: 19.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.5464, allocations: 2.625 kB / 0.613 GB, free: 19.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009144/0.5556, allocations: 3.064 MB / 0.616 GB, free: 16.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.5571, allocations: 304 kB / 0.6163 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.563, allocations: 3.006 MB / 0.6192 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.5655, allocations: 294.3 kB / 0.6195 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.5657, allocations: 63.98 kB / 0.6195 GB, free: 12.47 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0005909/0.5663, allocations: 293.5 kB / 0.6198 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.5666, allocations: 154.1 kB / 0.62 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/0.582, allocations: 5.799 MB / 0.6256 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.582, allocations: 12 kB / 0.6256 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.582, allocations: 4 kB / 0.6257 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/0.5821, allocations: 3.984 kB / 0.6257 GB, free: 6.184 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 postOpt removeSimpleEquations (simulation): time 0.01831/0.6004, allocations: 7.9 MB / 0.6334 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/0.6005, allocations: 4 kB / 0.6334 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000908/0.6014, allocations: 139.8 kB / 0.6335 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008156/0.6095, allocations: 2.51 MB / 0.636 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/0.6099, allocations: 28.5 kB / 0.636 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02662/0.6365, allocations: 10.89 MB / 0.6466 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.6365, allocations: 4.859 kB / 0.6466 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02012/0.6567, allocations: 7.056 MB / 0.6535 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/0.6574, allocations: 272.3 kB / 0.6538 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/0.6577, allocations: 31.95 kB / 0.6538 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.6593, allocations: 183.8 kB / 0.654 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007879/0.6601, allocations: 253.3 kB / 0.6542 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.584e-05/0.6602, allocations: 35.98 kB / 0.6543 GB, free: 8.535 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001399/0.6616, allocations: 0.8978 MB / 0.6551 GB, free: 7.637 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6616, allocations: 5.969 kB / 0.6551 GB, free: 7.633 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001418/0.6631, allocations: 0.5112 MB / 0.6556 GB, free: 7.121 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0201/0.6832, allocations: 7.779 MB / 0.6632 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009067/0.6923, allocations: 3.134 MB / 0.6663 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6923, allocations: 0 / 0.6663 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006356/0.6987, allocations: 2.149 MB / 0.6684 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6998, allocations: 109 kB / 0.6685 GB, free: 9.891 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/0.7077, allocations: 6.265 MB / 0.6746 GB, free: 3.582 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.7085, allocations: 1.231 MB / 0.6758 GB, free: 2.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006702/0.7092, allocations: 133.7 kB / 0.6759 GB, free: 2.188 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008157/0.71, allocations: 0.5735 MB / 0.6765 GB, free: 1.613 MB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.71, allocations: 0 / 0.6765 GB, free: 1.613 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07099/0.781, allocations: 36.79 MB / 0.7124 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.7813, allocations: 195.9 kB / 0.7126 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/3.765, allocations: 0 / 0.7126 GB, free: 12.92 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) Environment - environmentSimulation: