Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09561/0.09561, allocations: 12.6 MB / 28.1 MB, free: 128 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 111.5 kB / 31.7 MB, free: 3.484 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.331/1.331, allocations: 205.1 MB / 240.3 MB, free: 12.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 192.5 kB / 290.6 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.486/0.486, allocations: 78.51 MB / 419.2 MB, free: 11.33 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.003064/0.003064, allocations: 144.9 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3608, allocations: 68.1 MB / 0.5547 GB, free: 32.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008962/0.3698, allocations: 9.276 MB / 0.5637 GB, free: 25.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005763/0.3756, allocations: 2.829 MB / 0.5665 GB, free: 23.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.3773, allocations: 16.19 kB / 0.5665 GB, free: 23.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.3785, allocations: 377.1 kB / 0.5669 GB, free: 23.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.3817, allocations: 1.264 MB / 0.5681 GB, free: 22.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.3834, allocations: 0.8304 MB / 0.5689 GB, free: 21.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003386/0.3867, allocations: 2.745 MB / 0.5716 GB, free: 19.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008535/0.3876, allocations: 0.539 MB / 0.5721 GB, free: 19.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.3892, allocations: 1.03 MB / 0.5731 GB, free: 18.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.3905, allocations: 1.282 MB / 0.5744 GB, free: 17.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004263/0.391, allocations: 220.1 kB / 0.5746 GB, free: 17.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009602/0.3919, allocations: 474.5 kB / 0.5751 GB, free: 17.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.3923, allocations: 0.5444 MB / 0.5756 GB, free: 17.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.3932, allocations: 1.052 MB / 0.5766 GB, free: 16.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.3958, allocations: 2.718 MB / 0.5793 GB, free: 14.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3958, allocations: 0 / 0.5793 GB, free: 14.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3958, allocations: 0 / 0.5793 GB, free: 14.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.116e-05/0.3958, allocations: 4 kB / 0.5793 GB, free: 14.26 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01449/0.4103, allocations: 4.155 MB / 0.5833 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.4104, allocations: 15.98 kB / 0.5833 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002542/0.4107, allocations: 185.3 kB / 0.5835 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.4156, allocations: 0.7779 MB / 0.5843 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.4183, allocations: 1.299 MB / 0.5855 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.4187, allocations: 466.7 kB / 0.586 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.419, allocations: 135.9 kB / 0.5861 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.4218, allocations: 1.617 MB / 0.5877 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.4218, allocations: 0 / 0.5877 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.422, allocations: 51.94 kB / 0.5878 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.422, allocations: 32 kB / 0.5878 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.4249, allocations: 1.508 MB / 0.5893 GB, free: 3.777 MB / 398.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.009873/0.4348, allocations: 5.82 MB / 0.5949 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009019/0.4438, allocations: 3.182 MB / 0.598 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/0.4461, allocations: 0.9909 MB / 0.599 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.4468, allocations: 0.7375 MB / 0.5997 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002444/0.4493, allocations: 1.201 MB / 0.6009 GB, free: 7.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.817e-06/0.4493, allocations: 4 kB / 0.6009 GB, free: 7.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.04265/0.4919, allocations: 9.976 MB / 0.6107 GB, free: 13.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.4921, allocations: 149.9 kB / 0.6108 GB, free: 13.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003864/0.496, allocations: 1.635 MB / 0.6124 GB, free: 11.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006425/0.4967, allocations: 57.7 kB / 0.6124 GB, free: 11.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008716/0.4976, allocations: 0.7107 MB / 0.6131 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009554/0.4985, allocations: 0.5276 MB / 0.6137 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/0.5001, allocations: 391.9 kB / 0.614 GB, free: 9.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5002, allocations: 305.1 kB / 0.6143 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/0.5029, allocations: 1.078 MB / 0.6154 GB, free: 8.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/0.5058, allocations: 1.311 MB / 0.6167 GB, free: 6.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005392/0.5112, allocations: 2.327 MB / 0.6189 GB, free: 4.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.5112, allocations: 3.938 kB / 0.6189 GB, free: 4.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01131/0.5225, allocations: 4.003 MB / 0.6228 GB, free: 496 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.353e-05/0.5227, allocations: 33.7 kB / 0.6229 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/0.5227, allocations: 11.94 kB / 0.6229 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00989/0.5326, allocations: 2.659 MB / 0.6255 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.5347, allocations: 383.5 kB / 0.6258 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007169/0.5419, allocations: 2.695 MB / 0.6285 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/0.5452, allocations: 294.1 kB / 0.6288 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000434/0.5456, allocations: 71.98 kB / 0.6288 GB, free: 10.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.001169/0.5468, allocations: 345.4 kB / 0.6292 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007337/0.5475, allocations: 185.7 kB / 0.6293 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/0.566, allocations: 5.175 MB / 0.6344 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-05/0.5661, allocations: 12 kB / 0.6344 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.5661, allocations: 7.938 kB / 0.6344 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-05/0.5661, allocations: 11.97 kB / 0.6344 GB, free: 4.551 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.02363/0.5898, allocations: 7.651 MB / 0.6419 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.5898, allocations: 0 / 0.6419 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.591, allocations: 175.7 kB / 0.6421 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008413/0.5994, allocations: 2.244 MB / 0.6442 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003326/0.5998, allocations: 39.92 kB / 0.6443 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03145/0.6313, allocations: 12.07 MB / 0.6561 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.6313, allocations: 4 kB / 0.6561 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02154/0.6529, allocations: 6.374 MB / 0.6623 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007925/0.6537, allocations: 302.5 kB / 0.6626 GB, free: 7.207 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000663/0.6544, allocations: 28 kB / 0.6626 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/0.6568, allocations: 159.8 kB / 0.6628 GB, free: 7.023 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/0.6579, allocations: 285.3 kB / 0.663 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/0.6581, allocations: 43.98 kB / 0.6631 GB, free: 6.695 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002278/0.6604, allocations: 1.109 MB / 0.6642 GB, free: 5.594 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6605, allocations: 0 / 0.6642 GB, free: 5.594 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002293/0.6628, allocations: 0.6009 MB / 0.6648 GB, free: 4.992 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * 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,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02137/0.6841, allocations: 6.982 MB / 0.6716 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/0.6956, allocations: 3.248 MB / 0.6747 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.6956, allocations: 0 / 0.6747 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007453/0.7031, allocations: 2.183 MB / 0.6769 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.7054, allocations: 181 kB / 0.677 GB, free: 8.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05798/0.7634, allocations: 22.86 MB / 0.6994 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.7649, allocations: 1.339 MB / 0.7007 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001107/0.7661, allocations: 171.6 kB / 0.7008 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/0.7675, allocations: 0.7257 MB / 0.7016 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.274e-06/0.7675, allocations: 3.938 kB / 0.7016 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3425/1.11, allocations: 48.86 MB / 0.7493 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.25, allocations: 6.203 kB / 0.7493 GB, free: 129.2 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)