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.001594/0.001594, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.417/1.417, allocations: 222.9 MB / 239 MB, free: 4.715 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.001529/0.001529, allocations: 188.5 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5771/0.5771, allocations: 91.9 MB / 431.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 75.88 kB / 0.5015 GB, free: 7.938 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4361, allocations: 71.25 MB / 0.5711 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006857/0.443, allocations: 8.336 MB / 0.5792 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004858/0.4479, allocations: 2.546 MB / 0.5817 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.449, allocations: 14.84 kB / 0.5817 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008579/0.4499, allocations: 248.1 kB / 0.582 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.4521, allocations: 0.8634 MB / 0.5828 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.4535, allocations: 0.7119 MB / 0.5835 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.4554, allocations: 2.121 MB / 0.5856 GB, free: 27.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.4559, allocations: 366.4 kB / 0.5859 GB, free: 27.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009113/0.4568, allocations: 0.8535 MB / 0.5868 GB, free: 27.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000991/0.4578, allocations: 1.086 MB / 0.5878 GB, free: 26.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.4581, allocations: 174.1 kB / 0.588 GB, free: 26.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007099/0.4588, allocations: 355.2 kB / 0.5883 GB, free: 26.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.4592, allocations: 448.8 kB / 0.5887 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006732/0.4599, allocations: 0.8685 MB / 0.5896 GB, free: 25.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.4618, allocations: 2.149 MB / 0.5917 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4618, allocations: 0 / 0.5917 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4618, allocations: 0 / 0.5917 GB, free: 24.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.381e-05/0.4618, allocations: 1.031 kB / 0.5917 GB, free: 24.65 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.01241/0.4743, allocations: 3.504 MB / 0.5951 GB, free: 23.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.4743, allocations: 10.66 kB / 0.5951 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002017/0.4745, allocations: 152.9 kB / 0.5953 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/0.4792, allocations: 0.7351 MB / 0.596 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.4811, allocations: 1.101 MB / 0.5971 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/0.4815, allocations: 422.1 kB / 0.5975 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.4818, allocations: 98.88 kB / 0.5976 GB, free: 21.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.4847, allocations: 1.371 MB / 0.5989 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.4847, allocations: 4 kB / 0.5989 GB, free: 21.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.4848, allocations: 36.58 kB / 0.5989 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.4849, allocations: 22.12 kB / 0.599 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.4878, allocations: 1.299 MB / 0.6002 GB, free: 20.82 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.009082/0.4969, allocations: 4.666 MB / 0.6048 GB, free: 18.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008321/0.5052, allocations: 2.898 MB / 0.6076 GB, free: 16.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.5074, allocations: 0.9047 MB / 0.6085 GB, free: 16.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.5076, allocations: 23.98 kB / 0.6085 GB, free: 16.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002289/0.5099, allocations: 1.042 MB / 0.6095 GB, free: 16.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.977e-06/0.5099, allocations: 1.312 kB / 0.6095 GB, free: 16.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04222/0.5522, allocations: 9.911 MB / 0.6192 GB, free: 12.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.5523, allocations: 115.4 kB / 0.6193 GB, free: 12.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.5545, allocations: 1.352 MB / 0.6207 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004562/0.5549, allocations: 57.64 kB / 0.6207 GB, free: 11.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.5553, allocations: 0.5647 MB / 0.6213 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004467/0.5557, allocations: 457.5 kB / 0.6217 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005792/0.5563, allocations: 323.4 kB / 0.622 GB, free: 10.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.5564, allocations: 305.1 kB / 0.6223 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.5582, allocations: 0.9565 MB / 0.6232 GB, free: 8.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.5601, allocations: 1.155 MB / 0.6244 GB, free: 7.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/0.5636, allocations: 2.046 MB / 0.6264 GB, free: 5.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.5637, allocations: 0 / 0.6264 GB, free: 5.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009119/0.5728, allocations: 3.815 MB / 0.6301 GB, free: 1.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.5729, allocations: 11.94 kB / 0.6301 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5729, allocations: 4 kB / 0.6301 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00914/0.582, allocations: 2.679 MB / 0.6327 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.5837, allocations: 295.6 kB / 0.633 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.5902, allocations: 2.695 MB / 0.6356 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.5929, allocations: 242.3 kB / 0.6359 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.5931, allocations: 63.97 kB / 0.6359 GB, free: 11.65 MB / 446.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 ($whenCondition2,$whenCondition1) * 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 (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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006999/0.5938, allocations: 301.4 kB / 0.6362 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/0.5942, allocations: 150.1 kB / 0.6364 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/0.6099, allocations: 4.755 MB / 0.641 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.6099, allocations: 12 kB / 0.641 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.61, allocations: 0 / 0.641 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.923e-05/0.61, allocations: 11.97 kB / 0.641 GB, free: 6.391 MB / 446.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.01994/0.63, allocations: 6.864 MB / 0.6477 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/0.63, allocations: 7.938 kB / 0.6477 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.631, allocations: 131.8 kB / 0.6479 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007525/0.6386, allocations: 2.153 MB / 0.65 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003456/0.639, allocations: 31.98 kB / 0.65 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/0.6653, allocations: 10.08 MB / 0.6598 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.6653, allocations: 0 / 0.6598 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/0.6857, allocations: 5.911 MB / 0.6656 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008891/0.6867, allocations: 270.8 kB / 0.6659 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/0.6875, allocations: 20 kB / 0.6659 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002411/0.6899, allocations: 135.8 kB / 0.666 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/0.6911, allocations: 261.3 kB / 0.6663 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002466/0.6914, allocations: 35.98 kB / 0.6663 GB, free: 12.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002076/0.6934, allocations: 0.9094 MB / 0.6672 GB, free: 11.24 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6935, allocations: 4 kB / 0.6672 GB, free: 11.24 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002711/0.6962, allocations: 0.5112 MB / 0.6677 GB, free: 10.73 MB / 478.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 (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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01949/0.7157, allocations: 6.51 MB / 0.674 GB, free: 4.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01017/0.7259, allocations: 2.864 MB / 0.6768 GB, free: 1.312 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.726, allocations: 3.938 kB / 0.6768 GB, free: 1.309 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006712/0.7327, allocations: 1.919 MB / 0.6787 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.7351, allocations: 129 kB / 0.6788 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05705/0.7921, allocations: 20.65 MB / 0.699 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.7935, allocations: 1.211 MB / 0.7002 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009939/0.7945, allocations: 137.7 kB / 0.7003 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/0.7958, allocations: 0.5774 MB / 0.7009 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of SimCode: time 1.452e-06/0.7958, allocations: 0 / 0.7009 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07906/0.8749, allocations: 40.24 MB / 0.7402 GB, free: 15.84 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/0.8752, allocations: 222.8 kB / 0.7404 GB, free: 15.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/3.968, allocations: 0 / 0.7404 GB, free: 15.57 MB / 0.545 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/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)