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.08412/0.08412, allocations: 12.6 MB / 28.1 MB, free: 0.7656 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.001033/0.001033, allocations: 103.6 kB / 31.7 MB, free: 3.926 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.261/1.261, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001239/0.001238, allocations: 184.5 kB / 290.5 MB, free: 13.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4096/0.4096, allocations: 78.51 MB / 419.2 MB, free: 11.34 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.002714/0.002714, allocations: 143.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2705, allocations: 68.11 MB / 0.5547 GB, free: 32.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007939/0.2785, allocations: 9.271 MB / 0.5637 GB, free: 25.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004903/0.2834, allocations: 2.838 MB / 0.5665 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008372/0.2843, allocations: 19.28 kB / 0.5665 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.2851, allocations: 369.6 kB / 0.5669 GB, free: 23.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.2875, allocations: 1.251 MB / 0.5681 GB, free: 22.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.2889, allocations: 0.8444 MB / 0.5689 GB, free: 21.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.2911, allocations: 2.736 MB / 0.5716 GB, free: 19.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006481/0.2918, allocations: 0.5435 MB / 0.5721 GB, free: 19.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.2929, allocations: 1.03 MB / 0.5731 GB, free: 18.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.294, allocations: 1.281 MB / 0.5744 GB, free: 17.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.2944, allocations: 224.2 kB / 0.5746 GB, free: 17.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.2952, allocations: 479 kB / 0.5751 GB, free: 17.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.2955, allocations: 0.5442 MB / 0.5756 GB, free: 17.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000682/0.2962, allocations: 1.06 MB / 0.5766 GB, free: 16.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.2983, allocations: 2.705 MB / 0.5793 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2984, allocations: 0 / 0.5793 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2984, allocations: 0 / 0.5793 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.86e-05/0.2984, allocations: 0 / 0.5793 GB, free: 14.29 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.013/0.3114, allocations: 4.171 MB / 0.5833 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3115, allocations: 11.98 kB / 0.5834 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/0.3116, allocations: 181.3 kB / 0.5835 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.3161, allocations: 0.7857 MB / 0.5843 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.3179, allocations: 1.287 MB / 0.5856 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/0.3183, allocations: 474.7 kB / 0.586 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.3185, allocations: 131.9 kB / 0.5861 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.3211, allocations: 1.624 MB / 0.5877 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3211, allocations: 0 / 0.5877 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.3212, allocations: 48 kB / 0.5878 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.3213, allocations: 28 kB / 0.5878 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/0.324, allocations: 1.5 MB / 0.5893 GB, free: 3.805 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.008542/0.3326, allocations: 5.824 MB / 0.5949 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00887/0.3415, allocations: 3.178 MB / 0.598 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.3435, allocations: 0.9948 MB / 0.599 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/0.344, allocations: 0.7297 MB / 0.5997 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/0.3463, allocations: 1.204 MB / 0.6009 GB, free: 7.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 2.955e-06/0.3464, allocations: 0 / 0.6009 GB, free: 7.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.04199/0.3884, allocations: 9.976 MB / 0.6106 GB, free: 13.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.3885, allocations: 145.8 kB / 0.6108 GB, free: 13.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002806/0.3913, allocations: 1.646 MB / 0.6124 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003008/0.3916, allocations: 61.69 kB / 0.6125 GB, free: 11.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.3922, allocations: 0.7068 MB / 0.6131 GB, free: 10.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005894/0.3928, allocations: 0.5315 MB / 0.6137 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000784/0.3936, allocations: 391.9 kB / 0.614 GB, free: 9.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.3937, allocations: 301.1 kB / 0.6143 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.3961, allocations: 1.082 MB / 0.6154 GB, free: 8.367 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.3988, allocations: 1.303 MB / 0.6167 GB, free: 7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004866/0.4037, allocations: 2.335 MB / 0.6189 GB, free: 4.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4037, allocations: 0 / 0.6189 GB, free: 4.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01062/0.4143, allocations: 4.01 MB / 0.6228 GB, free: 0.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.4144, allocations: 33.7 kB / 0.6229 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.4144, allocations: 7.984 kB / 0.6229 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009737/0.4242, allocations: 2.659 MB / 0.6255 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.4262, allocations: 383.5 kB / 0.6258 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/0.433, allocations: 2.691 MB / 0.6285 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.4359, allocations: 290.1 kB / 0.6288 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/0.4362, allocations: 79.97 kB / 0.6288 GB, free: 10.33 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.0009499/0.4372, allocations: 345.4 kB / 0.6292 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005425/0.4377, allocations: 185.7 kB / 0.6293 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/0.4559, allocations: 5.175 MB / 0.6344 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.456, allocations: 16 kB / 0.6344 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.456, allocations: 3.984 kB / 0.6344 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/0.456, allocations: 3.984 kB / 0.6344 GB, free: 4.578 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.02257/0.4786, allocations: 7.658 MB / 0.6419 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/0.4787, allocations: 4 kB / 0.6419 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.4799, allocations: 167.8 kB / 0.6421 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008268/0.4881, allocations: 2.236 MB / 0.6442 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000359/0.4885, allocations: 39.94 kB / 0.6443 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0301/0.5186, allocations: 12.08 MB / 0.6561 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5187, allocations: 0 / 0.6561 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/0.539, allocations: 6.362 MB / 0.6623 GB, free: 7.559 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006715/0.5397, allocations: 302.5 kB / 0.6626 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005222/0.5403, allocations: 32 kB / 0.6626 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/0.5424, allocations: 167.8 kB / 0.6628 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009681/0.5434, allocations: 285.3 kB / 0.663 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/0.5436, allocations: 40 kB / 0.6631 GB, free: 6.723 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002151/0.5457, allocations: 1.109 MB / 0.6642 GB, free: 5.621 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5457, allocations: 0 / 0.6642 GB, free: 5.621 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002056/0.5478, allocations: 0.6048 MB / 0.6648 GB, free: 5.016 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.02091/0.5687, allocations: 6.981 MB / 0.6716 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0107/0.5794, allocations: 3.248 MB / 0.6747 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5795, allocations: 3.938 kB / 0.6747 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006946/0.5864, allocations: 2.187 MB / 0.6769 GB, free: 8.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.5881, allocations: 182.5 kB / 0.6771 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05133/0.6394, allocations: 22.85 MB / 0.6994 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.6407, allocations: 1.343 MB / 0.7007 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008454/0.6416, allocations: 167.6 kB / 0.7008 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.6427, allocations: 0.718 MB / 0.7015 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.6427, allocations: 4 kB / 0.7016 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2975/0.9403, allocations: 48.87 MB / 0.7493 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.63, allocations: 10.42 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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)