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.005172/0.005172, allocations: 102.2 kB / 15.73 MB, free: 6.469 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.228/1.228, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001334/0.001333, allocations: 192.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4063/0.4063, allocations: 78.53 MB / 418.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 79.81 kB / 0.5532 GB, free: 1.465 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2717, allocations: 68.17 MB / 0.6197 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006095/0.2778, allocations: 7.968 MB / 0.6275 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003949/0.2818, allocations: 2.507 MB / 0.63 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/0.2825, allocations: 12 kB / 0.63 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.2833, allocations: 305.4 kB / 0.6303 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.2858, allocations: 1.205 MB / 0.6314 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.287, allocations: 0.6604 MB / 0.6321 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.2891, allocations: 2.283 MB / 0.6343 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004755/0.2896, allocations: 377.5 kB / 0.6347 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008367/0.2904, allocations: 0.86 MB / 0.6355 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.2915, allocations: 1.101 MB / 0.6366 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.2917, allocations: 176 kB / 0.6368 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.2923, allocations: 359.8 kB / 0.6371 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.2926, allocations: 446.3 kB / 0.6375 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006876/0.2933, allocations: 0.8701 MB / 0.6384 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.2953, allocations: 2.188 MB / 0.6405 GB, free: 4.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2953, allocations: 0 / 0.6405 GB, free: 4.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2953, allocations: 0 / 0.6405 GB, free: 4.816 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.2953, allocations: 0 / 0.6405 GB, free: 4.816 MB / 446.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.01272/0.308, allocations: 3.805 MB / 0.6442 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3081, allocations: 8.031 kB / 0.6442 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.3083, allocations: 147.6 kB / 0.6444 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.3126, allocations: 0.7472 MB / 0.6451 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.3143, allocations: 1.092 MB / 0.6462 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/0.3147, allocations: 425 kB / 0.6466 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/0.3149, allocations: 104 kB / 0.6467 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.3175, allocations: 1.36 MB / 0.648 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3175, allocations: 3.938 kB / 0.648 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.3176, allocations: 36 kB / 0.648 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.3176, allocations: 24 kB / 0.6481 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.3202, allocations: 1.296 MB / 0.6493 GB, free: 11.58 MB / 462.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.007391/0.3276, allocations: 4.645 MB / 0.6539 GB, free: 6.723 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007553/0.3352, allocations: 2.895 MB / 0.6567 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.3369, allocations: 0.9034 MB / 0.6576 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.337, allocations: 28.95 kB / 0.6576 GB, free: 2.746 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001914/0.3389, allocations: 1.046 MB / 0.6586 GB, free: 1.676 MB / 462.1 MB Notification: Performance of pre-optimization done (n=124): time 2.855e-06/0.3389, allocations: 0 / 0.6586 GB, free: 1.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=124): time 0.03879/0.3777, allocations: 9.902 MB / 0.6683 GB, free: 7.734 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.3778, allocations: 119.8 kB / 0.6684 GB, free: 7.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.3799, allocations: 1.345 MB / 0.6697 GB, free: 6.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.3801, allocations: 53.7 kB / 0.6698 GB, free: 6.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.3805, allocations: 0.5687 MB / 0.6703 GB, free: 5.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004734/0.381, allocations: 457.5 kB / 0.6708 GB, free: 5.145 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006431/0.3817, allocations: 327.4 kB / 0.6711 GB, free: 4.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.3818, allocations: 305.1 kB / 0.6714 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.3837, allocations: 0.9526 MB / 0.6723 GB, free: 3.566 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.3858, allocations: 1.155 MB / 0.6734 GB, free: 2.367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003856/0.3896, allocations: 2.05 MB / 0.6754 GB, free: 276 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3896, allocations: 4 kB / 0.6754 GB, free: 272 kB / 478.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009388/0.399, allocations: 3.815 MB / 0.6792 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3991, allocations: 12.25 kB / 0.6792 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3991, allocations: 8 kB / 0.6792 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008669/0.4078, allocations: 2.667 MB / 0.6818 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.4091, allocations: 291.6 kB / 0.6821 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.4148, allocations: 2.7 MB / 0.6847 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.4169, allocations: 242.3 kB / 0.6849 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.4171, allocations: 67.98 kB / 0.685 GB, free: 6.426 MB / 494.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.0006082/0.4177, allocations: 301.4 kB / 0.6853 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.4181, allocations: 150.1 kB / 0.6854 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/0.4329, allocations: 4.755 MB / 0.6901 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4329, allocations: 15.94 kB / 0.6901 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4329, allocations: 4 kB / 0.6901 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.433, allocations: 11.97 kB / 0.6901 GB, free: 1.168 MB / 494.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.01776/0.4507, allocations: 6.852 MB / 0.6968 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.4508, allocations: 3.938 kB / 0.6968 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.4516, allocations: 135.8 kB / 0.6969 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006942/0.4586, allocations: 2.146 MB / 0.699 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/0.4588, allocations: 27.98 kB / 0.699 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02389/0.4827, allocations: 10.05 MB / 0.7089 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/0.4828, allocations: 7.984 kB / 0.7089 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/0.5, allocations: 5.916 MB / 0.7146 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/0.5006, allocations: 266.8 kB / 0.7149 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.5009, allocations: 24 kB / 0.7149 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.5025, allocations: 139.8 kB / 0.715 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007464/0.5032, allocations: 265.3 kB / 0.7153 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.5034, allocations: 35.98 kB / 0.7153 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001383/0.5047, allocations: 0.9056 MB / 0.7162 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5048, allocations: 0 / 0.7162 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001351/0.5061, allocations: 0.5112 MB / 0.7167 GB, free: 5.535 MB / 0.5137 GB 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.0172/0.5233, allocations: 6.52 MB / 0.7231 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008116/0.5315, allocations: 2.81 MB / 0.7258 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5315, allocations: 4.062 kB / 0.7258 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005681/0.5372, allocations: 1.922 MB / 0.7277 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.5384, allocations: 130.9 kB / 0.7278 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04234/0.5808, allocations: 19.05 MB / 0.7464 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.5816, allocations: 1.207 MB / 0.7476 GB, free: 5.469 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005349/0.5821, allocations: 137.7 kB / 0.7477 GB, free: 5.332 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007809/0.5829, allocations: 0.5735 MB / 0.7483 GB, free: 4.758 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.5829, allocations: 0 / 0.7483 GB, free: 4.758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2811/0.864, allocations: 43.85 MB / 0.7911 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.62, allocations: 5.391 kB / 0.7911 GB, free: 128.8 MB / 0.5606 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)