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.09025/0.09025, allocations: 12.6 MB / 28.24 MB, free: 112 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.001163/0.001163, allocations: 115.4 kB / 31.84 MB, free: 3.418 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.381/1.381, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001283/0.001283, allocations: 180.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4382/0.4382, allocations: 78.52 MB / 419.3 MB, free: 11.27 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.00279/0.00279, allocations: 143.3 kB / 0.5554 GB, free: 28.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1262, allocations: 68.13 MB / 0.6219 GB, free: 52 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01083/0.1371, allocations: 9.272 MB / 0.631 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006248/0.1435, allocations: 2.845 MB / 0.6337 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.1448, allocations: 16 kB / 0.6338 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.1459, allocations: 368.8 kB / 0.6341 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.1493, allocations: 1.319 MB / 0.6354 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.1512, allocations: 0.8459 MB / 0.6362 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003271/0.1544, allocations: 2.747 MB / 0.6389 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007386/0.1552, allocations: 0.5476 MB / 0.6394 GB, free: 14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1566, allocations: 1.031 MB / 0.6405 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.158, allocations: 1.295 MB / 0.6417 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.1584, allocations: 220 kB / 0.6419 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008271/0.1592, allocations: 475.7 kB / 0.6424 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004102/0.1597, allocations: 0.537 MB / 0.6429 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009971/0.1607, allocations: 1.06 MB / 0.6439 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.1636, allocations: 2.745 MB / 0.6466 GB, free: 6.625 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1636, allocations: 0 / 0.6466 GB, free: 6.625 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1636, allocations: 0 / 0.6466 GB, free: 6.625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.911e-05/0.1636, allocations: 0 / 0.6466 GB, free: 6.625 MB / 462.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.01531/0.1789, allocations: 4.158 MB / 0.6507 GB, free: 2.398 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.179, allocations: 11.98 kB / 0.6507 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/0.1792, allocations: 189.2 kB / 0.6509 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/0.1842, allocations: 0.7818 MB / 0.6516 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.1865, allocations: 1.299 MB / 0.6529 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004406/0.1869, allocations: 462.7 kB / 0.6533 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.1872, allocations: 139.9 kB / 0.6535 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.1903, allocations: 1.617 MB / 0.6551 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.1904, allocations: 3.938 kB / 0.6551 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.1905, allocations: 47.98 kB / 0.6551 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.1905, allocations: 28 kB / 0.6551 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/0.1939, allocations: 1.504 MB / 0.6566 GB, free: 12.14 MB / 478.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.01046/0.2044, allocations: 5.793 MB / 0.6623 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008924/0.2133, allocations: 3.179 MB / 0.6654 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.2152, allocations: 1.006 MB / 0.6663 GB, free: 1.801 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/0.2159, allocations: 0.731 MB / 0.6671 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002376/0.2183, allocations: 1.207 MB / 0.6682 GB, free: 15.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 2.885e-06/0.2183, allocations: 0 / 0.6682 GB, free: 15.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.03832/0.2567, allocations: 9.98 MB / 0.678 GB, free: 5.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.2568, allocations: 141.8 kB / 0.6781 GB, free: 5.457 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.2594, allocations: 1.635 MB / 0.6797 GB, free: 3.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.2597, allocations: 57.7 kB / 0.6798 GB, free: 3.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/0.2602, allocations: 0.7108 MB / 0.6805 GB, free: 3.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006694/0.2609, allocations: 0.5277 MB / 0.681 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006765/0.2616, allocations: 395.9 kB / 0.6814 GB, free: 2.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.2617, allocations: 301.1 kB / 0.6816 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.264, allocations: 1.074 MB / 0.6827 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.2665, allocations: 1.311 MB / 0.684 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004514/0.271, allocations: 2.331 MB / 0.6863 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.271, allocations: 4 kB / 0.6863 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009633/0.2807, allocations: 4.006 MB / 0.6902 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-05/0.2808, allocations: 33.7 kB / 0.6902 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.2809, allocations: 12 kB / 0.6902 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00889/0.2898, allocations: 2.655 MB / 0.6928 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.2918, allocations: 375.5 kB / 0.6932 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/0.298, allocations: 2.695 MB / 0.6958 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.3008, allocations: 294 kB / 0.6961 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/0.3011, allocations: 79.92 kB / 0.6962 GB, free: 2.691 MB / 0.4981 GB 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.0008879/0.302, allocations: 349.3 kB / 0.6965 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/0.3024, allocations: 189.6 kB / 0.6967 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/0.3189, allocations: 5.171 MB / 0.7017 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.319, allocations: 16 kB / 0.7017 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.319, allocations: 0 / 0.7017 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.323e-05/0.319, allocations: 11.97 kB / 0.7017 GB, free: 12.93 MB / 0.5137 GB 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.0203/0.3393, allocations: 7.649 MB / 0.7092 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.3394, allocations: 3.984 kB / 0.7092 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009796/0.3404, allocations: 171.9 kB / 0.7094 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00757/0.348, allocations: 2.232 MB / 0.7116 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/0.3482, allocations: 35.94 kB / 0.7116 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3069/0.6551, allocations: 12.06 MB / 0.7234 GB, free: 81.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6551, allocations: 1.188 kB / 0.7234 GB, free: 81.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01994/0.6751, allocations: 6.364 MB / 0.7296 GB, free: 79.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006479/0.6759, allocations: 302.2 kB / 0.7299 GB, free: 79.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.6763, allocations: 28.69 kB / 0.7299 GB, free: 79.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.678, allocations: 164 kB / 0.7301 GB, free: 79.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001269/0.6793, allocations: 291 kB / 0.7303 GB, free: 79.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.6795, allocations: 40.41 kB / 0.7304 GB, free: 79.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00207/0.6815, allocations: 1.107 MB / 0.7315 GB, free: 78.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6815, allocations: 0 / 0.7315 GB, free: 78.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001822/0.6834, allocations: 0.6065 MB / 0.7321 GB, free: 78.81 MB / 0.5137 GB 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.01863/0.702, allocations: 6.976 MB / 0.7389 GB, free: 76.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008116/0.7102, allocations: 3.18 MB / 0.742 GB, free: 75.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7102, allocations: 0 / 0.742 GB, free: 75.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005806/0.7161, allocations: 2.182 MB / 0.7441 GB, free: 74.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.7175, allocations: 171.6 kB / 0.7443 GB, free: 73.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03956/0.757, allocations: 21.08 MB / 0.7648 GB, free: 53.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007053/0.7578, allocations: 1.345 MB / 0.7662 GB, free: 51.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006152/0.7584, allocations: 175.6 kB / 0.7663 GB, free: 51.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009281/0.7593, allocations: 0.7197 MB / 0.767 GB, free: 50.84 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.7594, allocations: 0 / 0.767 GB, free: 50.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07629/0.8356, allocations: 49.48 MB / 0.8154 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.23, allocations: 3.75 kB / 0.8154 GB, free: 1.418 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)