Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.0009114/0.0009114, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.445/1.445, allocations: 223.3 MB / 239.4 MB, free: 5.535 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.001481/0.001482, allocations: 180.4 kB / 290.6 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5609/0.5609, allocations: 91.93 MB / 433.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 12 kB / 0.5049 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4308, allocations: 72.46 MB / 0.5756 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.005822/0.4366, allocations: 6.908 MB / 0.5824 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005625/0.4423, allocations: 2.292 MB / 0.5846 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007796/0.4431, allocations: 11.34 kB / 0.5846 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.4437, allocations: 216.1 kB / 0.5848 GB, free: 30 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.446, allocations: 0.9186 MB / 0.5857 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.4473, allocations: 0.531 MB / 0.5863 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.4492, allocations: 1.683 MB / 0.5879 GB, free: 28.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005036/0.4497, allocations: 288.6 kB / 0.5882 GB, free: 28.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.4508, allocations: 0.6448 MB / 0.5888 GB, free: 27.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000814/0.4517, allocations: 0.8771 MB / 0.5897 GB, free: 27.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.4518, allocations: 73.41 kB / 0.5897 GB, free: 27.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005026/0.4523, allocations: 247.2 kB / 0.59 GB, free: 27.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.4525, allocations: 295.1 kB / 0.5902 GB, free: 27.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.4531, allocations: 0.7088 MB / 0.5909 GB, free: 26.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.4545, allocations: 1.739 MB / 0.5926 GB, free: 26.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4545, allocations: 0 / 0.5926 GB, free: 26.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4545, allocations: 0 / 0.5926 GB, free: 26.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.4546, allocations: 1.25 kB / 0.5926 GB, free: 26.19 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01152/0.4661, allocations: 3.075 MB / 0.5956 GB, free: 25.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.4661, allocations: 7.938 kB / 0.5956 GB, free: 25.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003719/0.4665, allocations: 133.6 kB / 0.5958 GB, free: 24.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004815/0.4713, allocations: 0.7268 MB / 0.5965 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.4731, allocations: 0.9193 MB / 0.5974 GB, free: 24.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.4734, allocations: 370.6 kB / 0.5977 GB, free: 23.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.4737, allocations: 92.38 kB / 0.5978 GB, free: 23.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.4764, allocations: 1.306 MB / 0.5991 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.4765, allocations: 3.938 kB / 0.5991 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.4766, allocations: 30.12 kB / 0.5991 GB, free: 23.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.4766, allocations: 18.81 kB / 0.5991 GB, free: 23.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.4794, allocations: 1.249 MB / 0.6004 GB, free: 22.91 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.008364/0.4878, allocations: 4.197 MB / 0.6045 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009793/0.4976, allocations: 3.245 MB / 0.6076 GB, free: 19.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.5003, allocations: 0.9055 MB / 0.6085 GB, free: 19.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000244/0.5006, allocations: 22.91 kB / 0.6085 GB, free: 19.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.5006, allocations: 48.34 kB / 0.6086 GB, free: 18.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.266e-06/0.5007, allocations: 0 / 0.6086 GB, free: 18.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.05345/0.5541, allocations: 12.35 MB / 0.6206 GB, free: 14.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.5542, allocations: 90.11 kB / 0.6207 GB, free: 14.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.5561, allocations: 1.117 MB / 0.6218 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003512/0.5564, allocations: 49.7 kB / 0.6219 GB, free: 13.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.5568, allocations: 0.4895 MB / 0.6223 GB, free: 13.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006008/0.5574, allocations: 394.5 kB / 0.6227 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/0.5578, allocations: 141.6 kB / 0.6229 GB, free: 12.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.5579, allocations: 301.1 kB / 0.6231 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.56, allocations: 0.9449 MB / 0.6241 GB, free: 11.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.5621, allocations: 1.119 MB / 0.6252 GB, free: 10.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004147/0.5663, allocations: 2.038 MB / 0.6272 GB, free: 8.109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.5663, allocations: 4 kB / 0.6272 GB, free: 8.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009727/0.5761, allocations: 3.8 MB / 0.6309 GB, free: 4.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.5762, allocations: 8 kB / 0.6309 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.5762, allocations: 4 kB / 0.6309 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009693/0.5859, allocations: 2.971 MB / 0.6338 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.5872, allocations: 235.7 kB / 0.634 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007297/0.5945, allocations: 2.965 MB / 0.6369 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.5971, allocations: 250.5 kB / 0.6371 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/0.5975, allocations: 59.97 kB / 0.6372 GB, free: 13.78 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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 {(29,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008491/0.5984, allocations: 263 kB / 0.6374 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005699/0.5989, allocations: 134.3 kB / 0.6376 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01826/0.6172, allocations: 5.617 MB / 0.6431 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.6173, allocations: 8 kB / 0.6431 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.6173, allocations: 4 kB / 0.6431 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-05/0.6173, allocations: 11.91 kB / 0.6431 GB, free: 7.719 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.02242/0.6397, allocations: 7.389 MB / 0.6503 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.6398, allocations: 0 / 0.6503 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.6406, allocations: 107.8 kB / 0.6504 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008963/0.6496, allocations: 2.517 MB / 0.6529 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003684/0.65, allocations: 31.98 kB / 0.6529 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02884/0.6788, allocations: 10.31 MB / 0.663 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6789, allocations: 0 / 0.663 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02138/0.7003, allocations: 6.787 MB / 0.6696 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/0.701, allocations: 235.1 kB / 0.6698 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006142/0.7016, allocations: 27.98 kB / 0.6698 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/0.7036, allocations: 143.9 kB / 0.67 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000974/0.7046, allocations: 237 kB / 0.6702 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/0.7048, allocations: 28 kB / 0.6702 GB, free: 11.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001376/0.7062, allocations: 0.7523 MB / 0.671 GB, free: 10.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7062, allocations: 0 / 0.671 GB, free: 10.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002154/0.7083, allocations: 475.5 kB / 0.6714 GB, free: 10.37 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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.02127/0.7296, allocations: 7.378 MB / 0.6786 GB, free: 2.949 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009811/0.7395, allocations: 2.924 MB / 0.6815 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7395, allocations: 0 / 0.6815 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006997/0.7465, allocations: 2.06 MB / 0.6835 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.7486, allocations: 108.7 kB / 0.6836 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05778/0.8064, allocations: 21.65 MB / 0.7047 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008912/0.8074, allocations: 1.127 MB / 0.7058 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007001/0.8081, allocations: 104.3 kB / 0.7059 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008739/0.809, allocations: 487.3 kB / 0.7064 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.809, allocations: 0 / 0.7064 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07018/0.8792, allocations: 33.7 MB / 0.7393 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.8795, allocations: 207.4 kB / 0.7395 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/3.764, allocations: 0 / 0.7395 GB, free: 4.227 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)