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/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/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/package.mo): time 0.07983/0.07983, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.001074/0.001074, allocations: 119.4 kB / 30.94 MB, free: 4.664 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.5/1.5, allocations: 205.1 MB / 239.4 MB, free: 10.93 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.001765/0.001765, allocations: 188.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4853/0.4853, allocations: 78.5 MB / 418.1 MB, free: 31.74 MB / 318.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.002895/0.002895, allocations: 128.9 kB / 498.5 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3955, allocations: 68.03 MB / 0.5533 GB, free: 37.88 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.00729/0.4029, allocations: 8.374 MB / 0.5614 GB, free: 31.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004664/0.4076, allocations: 2.496 MB / 0.5639 GB, free: 29.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.4086, allocations: 11.69 kB / 0.5639 GB, free: 29.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008377/0.4095, allocations: 259.1 kB / 0.5641 GB, free: 29.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.4121, allocations: 1.052 MB / 0.5652 GB, free: 29.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4135, allocations: 0.6253 MB / 0.5658 GB, free: 28.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002377/0.4159, allocations: 2.257 MB / 0.568 GB, free: 27.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000635/0.4165, allocations: 384.8 kB / 0.5683 GB, free: 27.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.4179, allocations: 0.868 MB / 0.5692 GB, free: 27.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.4196, allocations: 1.101 MB / 0.5703 GB, free: 26.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007118/0.4203, allocations: 173.5 kB / 0.5704 GB, free: 26.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.4216, allocations: 351.7 kB / 0.5708 GB, free: 26.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000749/0.4223, allocations: 450 kB / 0.5712 GB, free: 26.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.4236, allocations: 0.8848 MB / 0.5721 GB, free: 25.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.4255, allocations: 2.16 MB / 0.5742 GB, free: 24.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4255, allocations: 0 / 0.5742 GB, free: 24.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4255, allocations: 0 / 0.5742 GB, free: 24.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.4255, allocations: 0 / 0.5742 GB, free: 24.75 MB / 414.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.01399/0.4395, allocations: 3.794 MB / 0.5779 GB, free: 23.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.4396, allocations: 17.23 kB / 0.5779 GB, free: 23.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003993/0.44, allocations: 149.2 kB / 0.578 GB, free: 23.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/0.4451, allocations: 0.7433 MB / 0.5788 GB, free: 23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.4479, allocations: 1.094 MB / 0.5798 GB, free: 22.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004818/0.4484, allocations: 420.4 kB / 0.5802 GB, free: 21.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003802/0.4488, allocations: 100.4 kB / 0.5803 GB, free: 21.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003774/0.4525, allocations: 1.371 MB / 0.5817 GB, free: 21.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.4526, allocations: 0.7031 kB / 0.5817 GB, free: 21.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.4528, allocations: 35.56 kB / 0.5817 GB, free: 21.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.4528, allocations: 22.5 kB / 0.5817 GB, free: 21.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.4562, allocations: 1.304 MB / 0.583 GB, free: 20.88 MB / 414.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.01082/0.4671, allocations: 4.665 MB / 0.5876 GB, free: 18.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008595/0.4757, allocations: 2.894 MB / 0.5904 GB, free: 16.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/0.4777, allocations: 0.9111 MB / 0.5913 GB, free: 16.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.4779, allocations: 29.47 kB / 0.5913 GB, free: 16.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002339/0.4803, allocations: 1.047 MB / 0.5923 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 7.153e-06/0.4803, allocations: 0 / 0.5923 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.04079/0.5211, allocations: 9.906 MB / 0.602 GB, free: 8.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.5212, allocations: 115.8 kB / 0.6021 GB, free: 8.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.5237, allocations: 1.349 MB / 0.6034 GB, free: 6.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004241/0.5242, allocations: 53.69 kB / 0.6035 GB, free: 6.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/0.5247, allocations: 0.5648 MB / 0.604 GB, free: 6.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006781/0.5254, allocations: 453.5 kB / 0.6045 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.5266, allocations: 327.3 kB / 0.6048 GB, free: 5.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.5266, allocations: 309.1 kB / 0.6051 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.5288, allocations: 0.9604 MB / 0.606 GB, free: 4.281 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.5309, allocations: 1.143 MB / 0.6071 GB, free: 3.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003875/0.5348, allocations: 2.05 MB / 0.6091 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.5348, allocations: 0 / 0.6091 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01068/0.5455, allocations: 3.823 MB / 0.6129 GB, free: 13.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.5455, allocations: 7.938 kB / 0.6129 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.5456, allocations: 4 kB / 0.6129 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009859/0.5554, allocations: 2.683 MB / 0.6155 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.5571, allocations: 299.5 kB / 0.6158 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006681/0.5638, allocations: 2.689 MB / 0.6184 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/0.5666, allocations: 246.4 kB / 0.6186 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003485/0.567, allocations: 63.98 kB / 0.6187 GB, free: 7.148 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.00107/0.5681, allocations: 298.9 kB / 0.619 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007052/0.5688, allocations: 154 kB / 0.6191 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/0.5854, allocations: 4.767 MB / 0.6238 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.5854, allocations: 12 kB / 0.6238 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.5855, allocations: 0 / 0.6238 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.953e-05/0.5855, allocations: 3.984 kB / 0.6238 GB, free: 1.891 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.02074/0.6062, allocations: 6.868 MB / 0.6305 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.6063, allocations: 3.938 kB / 0.6305 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6073, allocations: 135.8 kB / 0.6306 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007699/0.6151, allocations: 2.149 MB / 0.6327 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003036/0.6154, allocations: 27.98 kB / 0.6328 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02743/0.6428, allocations: 10.07 MB / 0.6426 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6429, allocations: 4 kB / 0.6426 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/0.6627, allocations: 5.915 MB / 0.6484 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008392/0.6636, allocations: 266.8 kB / 0.6486 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007001/0.6643, allocations: 27.98 kB / 0.6487 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/0.6664, allocations: 131.8 kB / 0.6488 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/0.6675, allocations: 265.3 kB / 0.649 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/0.6677, allocations: 31.98 kB / 0.6491 GB, free: 7.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001936/0.6697, allocations: 0.9172 MB / 0.65 GB, free: 6.742 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6697, allocations: 4 kB / 0.65 GB, free: 6.738 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002254/0.672, allocations: 0.5112 MB / 0.6505 GB, free: 6.227 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.0194/0.6914, allocations: 6.514 MB / 0.6568 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.7014, allocations: 2.861 MB / 0.6596 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.7015, allocations: 0 / 0.6596 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006607/0.7081, allocations: 1.911 MB / 0.6615 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.7102, allocations: 133 kB / 0.6616 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05366/0.7638, allocations: 20.66 MB / 0.6818 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.765, allocations: 1.204 MB / 0.683 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009108/0.766, allocations: 141.7 kB / 0.6831 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.7671, allocations: 0.5735 MB / 0.6837 GB, free: 3.406 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7671, allocations: 0 / 0.6837 GB, free: 3.406 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07514/0.8422, allocations: 40.24 MB / 0.723 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.8424, allocations: 221.2 kB / 0.7232 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/4.282, allocations: 0 / 0.7232 GB, free: 10.99 MB / 0.5294 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)