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.1331/0.1331, allocations: 12.6 MB / 28.23 MB, free: 0.7188 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.001575/0.001575, allocations: 119.4 kB / 31.84 MB, free: 3.855 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.745/1.745, 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.001957/0.001957, allocations: 188.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.7653/0.7653, allocations: 78.52 MB / 419.3 MB, free: 11.23 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.002942/0.002942, allocations: 134.7 kB / 0.5554 GB, free: 28.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1355, allocations: 68.13 MB / 0.6219 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.009441/0.145, allocations: 8.027 MB / 0.6298 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005441/0.1505, allocations: 2.475 MB / 0.6322 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.1518, allocations: 12 kB / 0.6322 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.1532, allocations: 313.4 kB / 0.6325 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.1575, allocations: 1.191 MB / 0.6336 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.1594, allocations: 0.674 MB / 0.6343 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.1628, allocations: 2.275 MB / 0.6365 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008238/0.1637, allocations: 369.6 kB / 0.6369 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.1654, allocations: 0.8639 MB / 0.6377 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.1675, allocations: 1.101 MB / 0.6388 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007495/0.1682, allocations: 176 kB / 0.639 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.1696, allocations: 359.8 kB / 0.6393 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007013/0.1703, allocations: 450.2 kB / 0.6397 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.1716, allocations: 0.8663 MB / 0.6406 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.1748, allocations: 2.197 MB / 0.6427 GB, free: 10.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1748, allocations: 0 / 0.6427 GB, free: 10.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1748, allocations: 0 / 0.6427 GB, free: 10.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001004/0.1749, allocations: 0 / 0.6427 GB, free: 10.61 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01682/0.1917, allocations: 3.805 MB / 0.6464 GB, free: 6.746 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1918, allocations: 11.98 kB / 0.6465 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/0.1921, allocations: 143.6 kB / 0.6466 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006783/0.1989, allocations: 0.7511 MB / 0.6473 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.2021, allocations: 1.092 MB / 0.6484 GB, free: 4.688 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005206/0.2026, allocations: 421 kB / 0.6488 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003727/0.203, allocations: 104 kB / 0.6489 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.2064, allocations: 1.364 MB / 0.6502 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.2065, allocations: 0 / 0.6502 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.2066, allocations: 36 kB / 0.6503 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.2066, allocations: 23.94 kB / 0.6503 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/0.2098, allocations: 1.3 MB / 0.6516 GB, free: 1.371 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.009741/0.2196, allocations: 4.649 MB / 0.6561 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.2316, allocations: 2.885 MB / 0.6589 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.234, allocations: 0.9034 MB / 0.6598 GB, free: 8.566 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.2342, allocations: 20.98 kB / 0.6598 GB, free: 8.547 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002739/0.237, allocations: 1.05 MB / 0.6608 GB, free: 7.477 MB / 478.1 MB Notification: Performance of pre-optimization done (n=124): time 4.649e-06/0.237, allocations: 0 / 0.6608 GB, free: 7.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=124): time 0.05668/0.2937, allocations: 9.909 MB / 0.6705 GB, free: 13.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2938, allocations: 123.8 kB / 0.6706 GB, free: 13.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.2978, allocations: 1.345 MB / 0.6719 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004159/0.2982, allocations: 53.7 kB / 0.672 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007975/0.299, allocations: 0.5609 MB / 0.6725 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009494/0.3, allocations: 457.5 kB / 0.673 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.3015, allocations: 331.3 kB / 0.6733 GB, free: 10.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3017, allocations: 305.1 kB / 0.6736 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004337/0.306, allocations: 0.9526 MB / 0.6745 GB, free: 9.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004769/0.3108, allocations: 1.158 MB / 0.6756 GB, free: 8.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008966/0.3199, allocations: 2.042 MB / 0.6776 GB, free: 6.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.3199, allocations: 0 / 0.6776 GB, free: 6.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.02238/0.3423, allocations: 3.819 MB / 0.6814 GB, free: 2.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.3425, allocations: 11.94 kB / 0.6814 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.3425, allocations: 4 kB / 0.6814 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01878/0.3613, allocations: 2.675 MB / 0.684 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.3644, allocations: 299.6 kB / 0.6843 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.3776, allocations: 2.683 MB / 0.6869 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/0.3821, allocations: 242.3 kB / 0.6871 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004713/0.3826, allocations: 67.97 kB / 0.6872 GB, free: 12.23 MB / 0.4981 GB 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.001207/0.3838, allocations: 289.5 kB / 0.6875 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007035/0.3845, allocations: 158 kB / 0.6876 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03105/0.4156, allocations: 4.756 MB / 0.6923 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/0.4157, allocations: 12 kB / 0.6923 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.4157, allocations: 4 kB / 0.6923 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.692e-05/0.4158, allocations: 11.97 kB / 0.6923 GB, free: 6.977 MB / 0.4981 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.03681/0.4526, allocations: 6.856 MB / 0.699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/0.4527, allocations: 3.938 kB / 0.699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.4544, allocations: 147.8 kB / 0.6991 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01512/0.4696, allocations: 2.142 MB / 0.7012 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003906/0.47, allocations: 27.98 kB / 0.7013 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05385/0.5239, allocations: 10.06 MB / 0.7111 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.524, allocations: 0 / 0.7111 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3449/0.8689, allocations: 5.911 MB / 0.7169 GB, free: 83.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/0.8695, allocations: 262.5 kB / 0.7171 GB, free: 83.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/0.8699, allocations: 30.03 kB / 0.7171 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/0.8717, allocations: 138.5 kB / 0.7173 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009266/0.8726, allocations: 254.9 kB / 0.7175 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.8727, allocations: 32.23 kB / 0.7175 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00167/0.8744, allocations: 0.9122 MB / 0.7184 GB, free: 83.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.9e-07/0.8744, allocations: 4.688 kB / 0.7184 GB, free: 83.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001768/0.8762, allocations: 0.5095 MB / 0.7189 GB, free: 83.21 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.02243/0.8986, allocations: 6.518 MB / 0.7253 GB, free: 81.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01007/0.9087, allocations: 2.825 MB / 0.7281 GB, free: 80.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/0.9088, allocations: 0.875 kB / 0.7281 GB, free: 80.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006782/0.9156, allocations: 1.909 MB / 0.7299 GB, free: 80.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.9178, allocations: 126.4 kB / 0.73 GB, free: 80.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0734/0.9912, allocations: 19.06 MB / 0.7487 GB, free: 70.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007961/0.9921, allocations: 1.207 MB / 0.7498 GB, free: 69.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009699/0.9931, allocations: 145.7 kB / 0.75 GB, free: 69.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.9942, allocations: 0.5735 MB / 0.7505 GB, free: 68.72 MB / 0.5137 GB Notification: Performance of SimCode: time 1.994e-06/0.9942, allocations: 0 / 0.7505 GB, free: 68.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.098, allocations: 43.87 MB / 0.7934 GB, free: 24.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.54/25.64, allocations: 11.12 kB / 0.7934 GB, free: 24.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)