Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 238.8 MB, free: 4.75 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.001244/0.001244, allocations: 188.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4593/0.4593, allocations: 78.51 MB / 417.8 MB, free: 3.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.89 kB / 496.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.138, allocations: 68.18 MB / 0.5518 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.2217/0.3597, allocations: 8.308 MB / 0.5599 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004841/0.3646, allocations: 2.547 MB / 0.5624 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.3668, allocations: 14.28 kB / 0.5624 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.3682, allocations: 248.9 kB / 0.5626 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.3715, allocations: 1.079 MB / 0.5637 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.3729, allocations: 0.6193 MB / 0.5643 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.375, allocations: 2.147 MB / 0.5664 GB, free: 33.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000497/0.3755, allocations: 343.5 kB / 0.5667 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.3764, allocations: 0.7761 MB / 0.5675 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009745/0.3774, allocations: 1.042 MB / 0.5685 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.3776, allocations: 101.8 kB / 0.5686 GB, free: 33.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006327/0.3783, allocations: 272.8 kB / 0.5689 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.3786, allocations: 379.4 kB / 0.5692 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006345/0.3792, allocations: 0.8017 MB / 0.57 GB, free: 32.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.3809, allocations: 2.103 MB / 0.5721 GB, free: 32.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3809, allocations: 1.125 kB / 0.5721 GB, free: 32.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3809, allocations: 0 / 0.5721 GB, free: 32.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.3809, allocations: 3.938 kB / 0.5721 GB, free: 32.3 MB / 430.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.01365/0.3946, allocations: 3.796 MB / 0.5758 GB, free: 31.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.3946, allocations: 11.73 kB / 0.5758 GB, free: 31.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.3949, allocations: 149.2 kB / 0.5759 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.3992, allocations: 0.7413 MB / 0.5766 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.4011, allocations: 1.099 MB / 0.5777 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/0.4015, allocations: 414.8 kB / 0.5781 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.4016, allocations: 103.4 kB / 0.5782 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.4041, allocations: 1.37 MB / 0.5796 GB, free: 30.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.4042, allocations: 0 / 0.5796 GB, free: 30.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.4043, allocations: 41.28 kB / 0.5796 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.4043, allocations: 22.28 kB / 0.5796 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.4068, allocations: 1.304 MB / 0.5809 GB, free: 29.55 MB / 430.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.007451/0.4143, allocations: 4.673 MB / 0.5854 GB, free: 26.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007754/0.422, allocations: 2.886 MB / 0.5883 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.4239, allocations: 0.9033 MB / 0.5892 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.4241, allocations: 25.19 kB / 0.5892 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002047/0.4262, allocations: 1.045 MB / 0.5902 GB, free: 24.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 2.735e-06/0.4262, allocations: 0 / 0.5902 GB, free: 24.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04283/0.469, allocations: 9.902 MB / 0.5999 GB, free: 23.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4691, allocations: 120.6 kB / 0.6 GB, free: 23.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.4717, allocations: 1.351 MB / 0.6013 GB, free: 22.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004384/0.4721, allocations: 52.3 kB / 0.6013 GB, free: 22.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.4725, allocations: 0.5695 MB / 0.6019 GB, free: 22.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.473, allocations: 450.1 kB / 0.6023 GB, free: 21.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006484/0.4736, allocations: 331.3 kB / 0.6027 GB, free: 21.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.4737, allocations: 305.1 kB / 0.6029 GB, free: 21.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.4758, allocations: 0.9561 MB / 0.6039 GB, free: 20.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.478, allocations: 1.153 MB / 0.605 GB, free: 20.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004016/0.4821, allocations: 2.042 MB / 0.607 GB, free: 19.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.4821, allocations: 1.406 kB / 0.607 GB, free: 19.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009915/0.492, allocations: 3.826 MB / 0.6107 GB, free: 17.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.4921, allocations: 12.16 kB / 0.6107 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.4921, allocations: 2.219 kB / 0.6107 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009067/0.5012, allocations: 2.673 MB / 0.6134 GB, free: 16.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.5027, allocations: 299.5 kB / 0.6136 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.5081, allocations: 2.684 MB / 0.6163 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.5105, allocations: 250.3 kB / 0.6165 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.5107, allocations: 67.97 kB / 0.6166 GB, free: 12.79 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.0006122/0.5113, allocations: 286.4 kB / 0.6168 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.5116, allocations: 150.6 kB / 0.617 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.5255, allocations: 4.767 MB / 0.6216 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.5256, allocations: 16 kB / 0.6217 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5256, allocations: 5.547 kB / 0.6217 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.5256, allocations: 3.984 kB / 0.6217 GB, free: 7.543 MB / 430.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.01623/0.5418, allocations: 6.865 MB / 0.6284 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.5419, allocations: 3.938 kB / 0.6284 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007953/0.5427, allocations: 143.8 kB / 0.6285 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006951/0.5497, allocations: 2.14 MB / 0.6306 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.5499, allocations: 27.98 kB / 0.6306 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/0.5725, allocations: 9.184 MB / 0.6396 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5725, allocations: 0 / 0.6396 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/0.5905, allocations: 5.915 MB / 0.6454 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007974/0.5914, allocations: 262.8 kB / 0.6456 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.5917, allocations: 29.78 kB / 0.6456 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.5932, allocations: 136.9 kB / 0.6458 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000827/0.5941, allocations: 249.3 kB / 0.646 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.5942, allocations: 39.92 kB / 0.6461 GB, free: 14.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.5955, allocations: 0.9095 MB / 0.6469 GB, free: 13.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5955, allocations: 4 kB / 0.6469 GB, free: 13.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001384/0.5969, allocations: 0.5113 MB / 0.6474 GB, free: 12.79 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.01758/0.6145, allocations: 6.504 MB / 0.6538 GB, free: 6.246 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008276/0.6228, allocations: 2.776 MB / 0.6565 GB, free: 3.473 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.6229, allocations: 0 / 0.6565 GB, free: 3.473 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005996/0.6289, allocations: 1.888 MB / 0.6584 GB, free: 1.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.6308, allocations: 130.7 kB / 0.6585 GB, free: 1.445 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04884/0.6796, allocations: 20.65 MB / 0.6786 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/0.6804, allocations: 1.207 MB / 0.6798 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006717/0.6811, allocations: 140.4 kB / 0.68 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008319/0.682, allocations: 0.5696 MB / 0.6805 GB, free: 10.18 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.682, allocations: 0 / 0.6805 GB, free: 10.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05972/0.7417, allocations: 38.48 MB / 0.7181 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.7419, allocations: 203.1 kB / 0.7183 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/3.697, allocations: 4 kB / 0.7183 GB, free: 3.762 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)