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-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.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-master/package.mo): time 0.08035/0.08035, allocations: 12.6 MB / 28.1 MB, free: 248 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.001073/0.001073, allocations: 103.5 kB / 31.7 MB, free: 3.492 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.245/1.245, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001234/0.001234, allocations: 187.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4143/0.4143, allocations: 78.5 MB / 419.2 MB, free: 11.35 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.002745/0.002745, allocations: 131.8 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.3004, allocations: 68.12 MB / 0.5547 GB, free: 32.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.007559/0.308, allocations: 8.011 MB / 0.5625 GB, free: 26.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00566/0.3137, allocations: 2.479 MB / 0.5649 GB, free: 24.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009023/0.3147, allocations: 12.06 kB / 0.5649 GB, free: 24.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007974/0.3155, allocations: 314.4 kB / 0.5652 GB, free: 24.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.318, allocations: 1.187 MB / 0.5664 GB, free: 23.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.3193, allocations: 0.6654 MB / 0.5671 GB, free: 23.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002211/0.3215, allocations: 2.265 MB / 0.5693 GB, free: 21.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005267/0.322, allocations: 380.1 kB / 0.5696 GB, free: 21.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.3231, allocations: 0.8589 MB / 0.5705 GB, free: 20.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.3241, allocations: 1.098 MB / 0.5715 GB, free: 20.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002741/0.3244, allocations: 175.8 kB / 0.5717 GB, free: 20.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.3251, allocations: 358 kB / 0.572 GB, free: 20.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.3254, allocations: 446.5 kB / 0.5725 GB, free: 19.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.326, allocations: 0.8754 MB / 0.5733 GB, free: 19.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.3278, allocations: 2.161 MB / 0.5754 GB, free: 17.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3279, allocations: 4 kB / 0.5754 GB, free: 17.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3279, allocations: 0 / 0.5754 GB, free: 17.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.3279, allocations: 5.281 kB / 0.5754 GB, free: 17.38 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.01397/0.3419, allocations: 3.797 MB / 0.5792 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3419, allocations: 11.98 kB / 0.5792 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.3421, allocations: 151.6 kB / 0.5793 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/0.3467, allocations: 0.7433 MB / 0.58 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.3484, allocations: 1.1 MB / 0.5811 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.3487, allocations: 417 kB / 0.5815 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.3489, allocations: 108 kB / 0.5816 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.3513, allocations: 1.368 MB / 0.5829 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.3513, allocations: 0 / 0.5829 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.3514, allocations: 36 kB / 0.583 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.3515, allocations: 20 kB / 0.583 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.354, allocations: 1.3 MB / 0.5843 GB, free: 8.969 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.007044/0.3611, allocations: 4.68 MB / 0.5888 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007599/0.3687, allocations: 2.882 MB / 0.5917 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.3704, allocations: 0.9073 MB / 0.5925 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.3705, allocations: 16.98 kB / 0.5926 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/0.3726, allocations: 1.05 MB / 0.5936 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.116e-06/0.3726, allocations: 0 / 0.5936 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.0417/0.4143, allocations: 9.906 MB / 0.6033 GB, free: 5.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.4144, allocations: 115.8 kB / 0.6034 GB, free: 4.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/0.4173, allocations: 1.345 MB / 0.6047 GB, free: 3.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.4176, allocations: 53.7 kB / 0.6047 GB, free: 3.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/0.4182, allocations: 0.5686 MB / 0.6053 GB, free: 2.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006421/0.4189, allocations: 453.6 kB / 0.6057 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007231/0.4196, allocations: 327.4 kB / 0.606 GB, free: 2.199 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.4197, allocations: 309 kB / 0.6063 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.422, allocations: 0.9526 MB / 0.6073 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.4243, allocations: 1.155 MB / 0.6084 GB, free: 15.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.4289, allocations: 2.046 MB / 0.6104 GB, free: 13.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.4289, allocations: 0 / 0.6104 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01107/0.44, allocations: 3.819 MB / 0.6141 GB, free: 9.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.44, allocations: 15.92 kB / 0.6141 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.4401, allocations: 4 kB / 0.6141 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009628/0.4497, allocations: 2.679 MB / 0.6167 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.4512, allocations: 299.5 kB / 0.617 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006352/0.4576, allocations: 2.685 MB / 0.6197 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.4601, allocations: 246.3 kB / 0.6199 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.4603, allocations: 63.98 kB / 0.62 GB, free: 3.809 MB / 430.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.0006874/0.461, allocations: 301.4 kB / 0.6202 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.4615, allocations: 154.1 kB / 0.6204 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/0.4776, allocations: 4.755 MB / 0.625 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.4776, allocations: 23.88 kB / 0.6251 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4776, allocations: 0 / 0.6251 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/0.4777, allocations: 7.984 kB / 0.6251 GB, free: 14.54 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.01946/0.4971, allocations: 6.852 MB / 0.6318 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.4972, allocations: 7.938 kB / 0.6318 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.4981, allocations: 143.8 kB / 0.6319 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007645/0.5057, allocations: 2.146 MB / 0.634 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.5059, allocations: 28 kB / 0.634 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02581/0.5317, allocations: 10.08 MB / 0.6439 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.5318, allocations: 0 / 0.6439 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/0.5505, allocations: 5.907 MB / 0.6496 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.5512, allocations: 270.8 kB / 0.6499 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005099/0.5517, allocations: 20 kB / 0.6499 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/0.5536, allocations: 143.8 kB / 0.65 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008801/0.5545, allocations: 257.3 kB / 0.6503 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.5547, allocations: 35.98 kB / 0.6503 GB, free: 4.316 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001662/0.5563, allocations: 0.9095 MB / 0.6512 GB, free: 3.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5564, allocations: 0 / 0.6512 GB, free: 3.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001791/0.5582, allocations: 0.5112 MB / 0.6517 GB, free: 2.895 MB / 462.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.01931/0.5775, allocations: 6.525 MB / 0.6581 GB, free: 12.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009749/0.5873, allocations: 2.864 MB / 0.6609 GB, free: 9.465 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5873, allocations: 0 / 0.6609 GB, free: 9.465 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006479/0.5938, allocations: 1.916 MB / 0.6628 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.5954, allocations: 139 kB / 0.6629 GB, free: 7.402 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0488/0.6443, allocations: 20.16 MB / 0.6826 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009305/0.6452, allocations: 1.207 MB / 0.6838 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007822/0.646, allocations: 141.7 kB / 0.6839 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009354/0.647, allocations: 0.5696 MB / 0.6844 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/0.647, allocations: 0 / 0.6844 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3013/0.9483, allocations: 41.64 MB / 0.7251 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.58, allocations: 8.969 kB / 0.7251 GB, free: 147.2 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1_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_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)