Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08277/0.08277, allocations: 12.2 MB / 27.15 MB, free: 0.9141 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008802, allocations: 98.27 kB / 30.67 MB, free: 4.871 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 239.5 MB, free: 10.71 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.001383/0.001383, allocations: 177.1 kB / 290.6 MB, free: 8.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4315/0.4315, allocations: 78.5 MB / 420.1 MB, free: 6.543 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009249/0.0009251, allocations: 28.78 kB / 0.4895 GB, free: 37.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1135, allocations: 69.25 MB / 0.5571 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006756/0.1203, allocations: 7.017 MB / 0.564 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004486/0.1248, allocations: 2.426 MB / 0.5663 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007042/0.1256, allocations: 12 kB / 0.5664 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.1262, allocations: 222.4 kB / 0.5666 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.1285, allocations: 1.066 MB / 0.5676 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1297, allocations: 0.5492 MB / 0.5681 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.1315, allocations: 1.409 MB / 0.5695 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004268/0.1319, allocations: 318.8 kB / 0.5698 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007606/0.1327, allocations: 0.7316 MB / 0.5705 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009907/0.1337, allocations: 0.965 MB / 0.5715 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.1339, allocations: 88 kB / 0.5716 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.1344, allocations: 231.8 kB / 0.5718 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.1347, allocations: 346.6 kB / 0.5721 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.1349, allocations: 280.8 kB / 0.5724 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.1363, allocations: 1.57 MB / 0.5739 GB, free: 7.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1363, allocations: 4 kB / 0.5739 GB, free: 7.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1363, allocations: 0 / 0.5739 GB, free: 7.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.1363, allocations: 0 / 0.5739 GB, free: 7.426 MB / 398.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.01284/0.1492, allocations: 3.619 MB / 0.5775 GB, free: 3.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1492, allocations: 11.98 kB / 0.5775 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003375/0.1496, allocations: 147.6 kB / 0.5776 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.1542, allocations: 0.7511 MB / 0.5783 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.1561, allocations: 1.043 MB / 0.5794 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000412/0.1565, allocations: 437 kB / 0.5798 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.1567, allocations: 100 kB / 0.5799 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.1594, allocations: 1.427 MB / 0.5813 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1595, allocations: 4 kB / 0.5813 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.1596, allocations: 36 kB / 0.5813 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.1596, allocations: 20 kB / 0.5813 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.1624, allocations: 1.386 MB / 0.5827 GB, free: 14.25 MB / 414.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.008254/0.1707, allocations: 4.871 MB / 0.5874 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008618/0.1793, allocations: 3.448 MB / 0.5908 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.1796, allocations: 24.97 kB / 0.5908 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002545/0.1822, allocations: 1.128 MB / 0.5919 GB, free: 4.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.737e-06/0.1822, allocations: 0 / 0.5919 GB, free: 4.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.04344/0.2257, allocations: 12.02 MB / 0.6037 GB, free: 8.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2258, allocations: 123.7 kB / 0.6038 GB, free: 8.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.2279, allocations: 1.345 MB / 0.6051 GB, free: 6.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003321/0.2282, allocations: 49.7 kB / 0.6051 GB, free: 6.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/0.2287, allocations: 0.5648 MB / 0.6057 GB, free: 6.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004722/0.2292, allocations: 453.5 kB / 0.6061 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.2293, allocations: 36 kB / 0.6062 GB, free: 5.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2295, allocations: 377.9 kB / 0.6065 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.2316, allocations: 1.023 MB / 0.6075 GB, free: 4.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.2338, allocations: 1.225 MB / 0.6087 GB, free: 3.051 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.236, allocations: 1.103 MB / 0.6098 GB, free: 1.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.2361, allocations: 4 kB / 0.6098 GB, free: 1.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009277/0.2453, allocations: 3.98 MB / 0.6137 GB, free: 13.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.2454, allocations: 11.03 kB / 0.6137 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.2454, allocations: 4 kB / 0.6137 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.2556, allocations: 3.054 MB / 0.6167 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.2572, allocations: 303.5 kB / 0.617 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006783/0.264, allocations: 3.007 MB / 0.6199 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.2665, allocations: 290.4 kB / 0.6202 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.2668, allocations: 63.98 kB / 0.6202 GB, free: 7.203 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 ($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.000675/0.2675, allocations: 289.5 kB / 0.6205 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.2678, allocations: 150.1 kB / 0.6207 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/0.2847, allocations: 5.802 MB / 0.6263 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/0.2848, allocations: 16 kB / 0.6263 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.2849, allocations: 4 kB / 0.6263 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.43e-05/0.2849, allocations: 3.984 kB / 0.6263 GB, free: 0.918 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.02/0.3049, allocations: 7.899 MB / 0.6341 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/0.305, allocations: 7.984 kB / 0.6341 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009836/0.306, allocations: 135.8 kB / 0.6342 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008428/0.3144, allocations: 2.513 MB / 0.6367 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/0.3149, allocations: 24 kB / 0.6367 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02819/0.3431, allocations: 10.9 MB / 0.6473 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.3432, allocations: 7.938 kB / 0.6473 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/0.3641, allocations: 7.052 MB / 0.6542 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007518/0.3649, allocations: 262.9 kB / 0.6545 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006296/0.3655, allocations: 24 kB / 0.6545 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/0.3675, allocations: 179.8 kB / 0.6547 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009518/0.3685, allocations: 257.3 kB / 0.6549 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/0.3687, allocations: 39.98 kB / 0.6549 GB, free: 3.262 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001793/0.3705, allocations: 0.8939 MB / 0.6558 GB, free: 2.367 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3705, allocations: 0 / 0.6558 GB, free: 2.367 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002018/0.3726, allocations: 0.5189 MB / 0.6563 GB, free: 1.848 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 (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.2393/0.6119, allocations: 7.78 MB / 0.6639 GB, free: 93.99 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008857/0.6208, allocations: 3.13 MB / 0.667 GB, free: 93.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6208, allocations: 6.828 kB / 0.667 GB, free: 93.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006656/0.6275, allocations: 2.147 MB / 0.6691 GB, free: 93.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.6284, allocations: 110.6 kB / 0.6692 GB, free: 93.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/0.635, allocations: 6.265 MB / 0.6753 GB, free: 89.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.6357, allocations: 1.239 MB / 0.6765 GB, free: 88.63 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005905/0.6363, allocations: 141 kB / 0.6767 GB, free: 88.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007634/0.6371, allocations: 0.5723 MB / 0.6772 GB, free: 88.6 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6371, allocations: 0.625 kB / 0.6772 GB, free: 88.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05401/0.6911, allocations: 36.76 MB / 0.7131 GB, free: 60.34 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.6913, allocations: 196.6 kB / 0.7133 GB, free: 60.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.537, allocations: 0 / 0.7133 GB, free: 60.09 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) Environment - environmentSimulation: